Hi,
I have a db wrapper class.
I use it like this :
$db->query"(SQL HERE") or die ($db->error());
Is there a way to display the line on which $db->error() is executed without 
doing die (__LINE__." ".$db->error() )?
If i put __LINE__ in the class the line number is always the line in the class 
file.

I want when i call $db->error() to display the current line number.

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

Reply via email to