note 13598 added to function.pg-fetch-array.php
| From: | gmoros at altavista dot com | Date: | Sat, 23 Jun 2001 00:06:00 +0000 |
| Subject: | note 13598 added to function.pg-fetch-array.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14582@lists.php.net to get a copy of this message | ||
If the connection with the database fails, you can add "or die" + your message to show,
with @pg_connect don´t display error messages.
$conn = @pg_connect("dbname=marliese port=5432") or die ("Can´t connect to
database);
http://www.php.net/manual/en/function.pg-fetch-array.php