Subject Re: [firebird-php] instead of die("...
Author Alex Stanciu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Carter wrote:
|
|
| 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/
|
|
|
|
|
|
|
|
|
|
|
| Yahoo! Groups Links
|
|
|
|
|
|
|

http://www.php.net/manual/en/function.ibase-errmsg.php
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3-nr1 (Windows XP)

iD8DBQFBbnpN0aWq4FYVo0oRAi/HAJsE23qCTdCjFcMHSSWhe8bJ+8hNbACglru3
0dnvj6ZeGixitK+M6jEjLg8=
=kxpv
-----END PGP SIGNATURE-----