note 59563 deleted from function.pg-last-error by nlopess
| From: | nlopess@php.net | Date: | Sat, 06 May 2006 10:33:10 +0000 |
| Subject: | note 59563 deleted from function.pg-last-error by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-110685@lists.php.net to get a copy of this message | ||
Note Submitter: fmonnier at linux-nantes dot fr dot eu dot org
----
I think there is a little error in this example since if pg_connect() fails it returns False which
is given to pg_last_error() which expects to get a valid ressource as argument.