do not know how to do inside zf or drupal, but can you set up error log for
you DB?
most DBs have error log option, check out your DB manual.
regards.
Kexiao Liao wrote:
>
> Is there a good way to catch the sql statement execute error message when
> it is been fired?
>
> For example when I
-- Kexiao Liao <[EMAIL PROTECTED]> wrote
(on Monday, 17 December 2007, 07:23 AM -0800):
>
> 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 duri
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 . "'
WHE