php4-beta | 199912
Date: 12/24/99
- Next message: Maurício Santiago de Castro: "[PHP4BETA] mysql_connect and pconnect in safe mode"
- Previous message: Matthias.Stoeckert <email protected>: "[PHP4BETA] Re: [PHP-CVS-DAILY] cvs: /php4 NEWS"
- In reply to: Alex P: "[PHP4BETA] Detecting errors with ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: Maurício Santiago de Castro: "[PHP4BETA] mysql_connect and pconnect in safe mode"
- Previous message: Matthias.Stoeckert <email protected>: "[PHP4BETA] Re: [PHP-CVS-DAILY] cvs: /php4 NEWS"
- In reply to: Alex P: "[PHP4BETA] Detecting errors with ODBC"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

