here is an example of the error sorry forgot to add it

DB Error: syntax error
SELECT gallery FROM galleries WHERE galleryID= [nativecode=1064 ** You have
an error in your SQL syntax. Check the manual that corresponds to your MySQL
server version for the right syntax to use near '' at line 1]

like line 1 could be anywhere and the query i buggered on purpose is 100
lines down

"Electroteque" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi there i am trying to build a ustom error handler for the pear db aswell
> as catch fatal and parse errors , unfortunatly the pear  db error message
> wont give me back the file and the line where the error is, how can i
> determine the line and file where the error is caused ufortunatly the
> callback funtion with the params $errfile and $errline return the file
that
> contains the trigger not the script itself !
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to