note 13598 deleted from function.pg-fetch-array by felipe
| From: | felipe@php.net | Date: | Sat, 29 Dec 2007 21:28:03 +0000 |
| Subject: | note 13598 deleted from function.pg-fetch-array by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134242@lists.php.net to get a copy of this message | ||
Note Submitter: gmoros at altavista dot com
----
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);