Re: [PHP4BETA] Detecting errors with ODBC

From: Date: Fri, 24 Dec 1999 10:52:45 +0000
Subject: Re: [PHP4BETA] Detecting errors with ODBC
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-8474@lists.php.net to get a copy of this message
Alex P wrote: > > Is there a way to suppress error messages in ODBC and then retrieve them > later so that I can print them to a log? Similiar to the way that the Oracle > 8 function OCIError works? Thanks. > You can suppress error messages by using the @ function prefix or generally and then later retrieve the error from $PHP_ERROR. AFAIK you will need to set some ini var like track_errors for this to work. -Andreas

« previous php.version4 (#8474) next »