PGSQL GENERAL 6 RE POSTGRESQL AND JAVASCRIPT
From: sklassen@no-spam (Steven Klassen)
Subject: Re: postgresql and javascript
Date: Wed, 8 Dec 2004 08:20:28 -0800


# 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 majordomo@no-spam