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

From: Date: Thu, 06 Jan 2005 19:12:21 +0000
Subject: RE: [PHP-DB] Stopping display of DB errors
Groups: php.db 
Request: Send a blank email to php-db+get-38029@lists.php.net to get a copy of this message
> -----Original Message----- > From: Todd Cary [mailto:todd@aristesoftware.com] > 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 though I am testing for errors. Is there a way to prevent this? Suppress the error by prefixing the function with @: $sthdl = @ibase_query($stmnt,$dbh); <------ won't display error regardless Cheers, - Martin Norland, Database / Web Developer, International Outreach x3257 The opinion(s) contained within this email do not necessarily represent those of St. Jude Children's Research Hospital.

« previous php.db (#38029) next »