actually its getting there
$backtrace = debug_backtrace();
foreach ($backtrace as $val) {
if (eregi($val['function'],'query')){
echo $val['file']."";
echo $vale['line']."";
}
}
"Michael Sims" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
On Wed
On Wed, 8 Jan 2003 08:28:58 +1100, you wrote:
>> 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 an
2 matches
Mail list logo