Hi kids

I have a function in one of my includes: db.inc.php::getQuery which does
most of my mySQL calling for me.

However, when the mySQL call fails, I get a nice error which is useful
except one thing. It doesn't tell me which function called it.

Does anyone know how to find to do the equivalent of:

function myFunc()
        echo "myFunc was called by the function $calling_function";

Any ideas?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to