# Does anyone know how to connect javascript to a postgresql database # # Please send example if anyone has done it
Maybe you mean Java? Javascript runs within the browser and AFAIK has no facilities for dealing with a database connection. FWIW, you can accomplish what you're probably attempting to do by having PHP or something comprable generate the javascript data sets you want when the page is rendered. -- Steven Klassen - Lead Programmer Command Prompt, Inc. - http://www.commandprompt.com/ PostgreSQL Replication & Support Services, (503) 667-4564 ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])