DB: you can catch connection errors but can you catch SQL errors? (trying to ctach "DB Error: no such field")

From: Date: Thu, 07 Apr 2005 17:29:04 +0000
Subject: DB: you can catch connection errors but can you catch SQL errors? (trying to ctach "DB Error: no such field")
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18633@lists.php.net to get a copy of this message
I am trying to catch the error "DB Error: no such field". I have: $db->setErrorHandling(PEAR_ERROR_CALLBACK, 'db_err'); that catches all connection errors but I need to catch SQL errors as well. ANy ideas/examples? Thanks __________________________________ Yahoo! Messenger Show us what our next emoticon should look like. Join the fun. http://www.advision.webevents.yahoo.com/emoticontest

« previous php.pear.general (#18633) next »