> -----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 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.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php