Re: oracle connection question



Steff wrote:

Hi,

I would like to know what's the best way to validate or manage an error when
connecting on a Oracle DB with oci_connect from php 5.

For instance with:

$c1 = oci_connect("stephane","password",$db)
or die ("some snyde remark") ;

=== sorry about the duplicate reply - but I wasn't finished yet...

http://www.php.net/manual/en/function.oci-error.php


.