Is there a good way to catch the sql statement execute error message when it
is been fired?
For example when I run the following two statements, how can I catch the
error message if it happens during the running process?
$stmtNode = $dbDrupal-> query("UPDATE node set title='" . $newName . "'
WHERE nid='" . $forum . "'");
$stmtNode->execute();
--
View this message in context:
http://www.nabble.com/catch-sql-statement-execute-error-tp14372542s16154p14372542.html
Sent from the Zend Framework mailing list archive at Nabble.com.