ADOdb Library for PHP, ADODB error handler, get the filename, line where error occurs

848 views Asked by At

I use ADOdb Library for PHP and I would like when I have an error in MYSQL like syntax error INSER INTO or DUPLICATE ENTRY IN INSERT INTO and the ADODB_Error_Handler($dbms, $fn, $errno, $errmsg, $p1, $p2, &$thisConnection) is activated to get the name of the file and the line where the error occurs. For the time being I get the error..

How can I fix it ?

0

There are 0 answers