[PHP-DB] Error's management : php-pgsql.

2005-12-07 Thread David BOUCHE
Hello, My goal : obtain the error message if the connection fail. ## my code : ?php $cnxString = host=localhost port=5432 dbname=toto user=atlante password=aiThoo3g; $pgsql_conn = pg_connect($cnxString, PGSQL_CONNECT_FORCE_NEW); if ($pgsql_conn) { print Connexion réussie à : .

Re: [PHP-DB] Error's management : php-pgsql.

2005-12-07 Thread David BOUCHE
faliure... Bastien From: David BOUCHE [EMAIL PROTECTED] To: Bastien Koert [EMAIL PROTECTED] Subject: Re: [PHP-DB] Error's management : php-pgsql. Date: Wed, 07 Dec 2005 21:07:09 +0100 Again, the URL where i've found this script : http://www.php.net/manual/en/function.pg-last-error.php