Re: [PHP-DB] Stopping display of DB errors

2005-01-06 Thread Jochem Maas
Todd Cary wrote: When I run a query using Interbase and if an error occurs, the error displays in the browser window even though I am testing for errors. Is there a way to prevent this? function db_insert_logon_session($dbh, $sessionid, $offset) { $fulldate = date("m/d/Y H:i:s",time() + $of

RE: [PHP-DB] Stopping display of DB errors

2005-01-06 Thread Norland, Martin
> -Original Message- > From: Todd Cary [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 06, 2005 11:36 AM > Subject: [PHP-DB] Stopping display of DB errors > > When I run a query using Interbase and if an error occurs, the error displays in the browser window even t

[PHP-DB] Stopping display of DB errors

2005-01-06 Thread Todd Cary
When I run a query using Interbase and if an error occurs, the error displays in the browser window even though I am testing for errors. Is there a way to prevent this? function db_insert_logon_session($dbh, $sessionid, $offset) { $fulldate = date("m/d/Y H:i:s",time() + $offset); $stmnt