Wiki

PHP - PostgreSQL connection

Sample code for connecting to a PostgreSQL database using PHP and simple queries.

The USERNAME, PASSWORD and DATABASE_NAME variables must be substituted with those supplied for your web hosting account.

Wiki: support/PostgreSQL/Making_a_connection_from_your_code/PHP_PostgreSQL (last edited 2008-04-23 15:44:32 by KeiranHolloway)