Subject | instead of die("... |
---|---|
Author | Simon Carter |
Post date | 2004-10-14T12:48:14Z |
Hi,
Having never used PHP before I was wondering if someone could point
me to some resources that I can use to trap/display error messages.
Given the following code (running in IIS with FB 1.5.0 and PHP
4.3.9):
@ $db = ibase_connect($hote, $user, $pass) or die("connexion
impossible<BR>Database non available");
if (isset($db)){ %>
what can I use to get the error message for the connection failing?
tia
Si Carter
TECT Software Ltd
http://www.tectsoft.net/
Having never used PHP before I was wondering if someone could point
me to some resources that I can use to trap/display error messages.
Given the following code (running in IIS with FB 1.5.0 and PHP
4.3.9):
@ $db = ibase_connect($hote, $user, $pass) or die("connexion
impossible<BR>Database non available");
if (isset($db)){ %>
what can I use to get the error message for the connection failing?
tia
Si Carter
TECT Software Ltd
http://www.tectsoft.net/