Subject | Re: [firebird-php] instead of die("... |
---|---|
Author | Lester Caine |
Post date | 2004-10-14T21:05:33Z |
Simon Carter wrote:
ibase_errmsg
http://uk.php.net/manual/en/ref.ibase.php
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services
> Having never used PHP before I was wondering if someone could pointibase_errcode
> 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?
ibase_errmsg
http://uk.php.net/manual/en/ref.ibase.php
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services