Subject Processing Firebird errors in PHP
Author Todd Cary
I would appreciate some suggestions on how errors should be processed in
Apache/PHP. Here is a snippet of my current code:

$sthdl = ibase_query($stmnt,$dbh);
if ($sthdl) ibase_commit();
if (ibase_errmsg()) {
echo('Query: ' . $stmnt . '<br>');
echo ibase_errmsg();
return $sthdl;

where $stmnt is the query statement. If I do not put the "exit" in the
code, the function will run giving erroneous results. I would like to
display an error page informing the surfer to contact the DBA.

Any suggestions?

Many thanks.....

Ariste Software
200 D Street Ext
Petaluma, CA 94952
(707) 773-4523