MYSQL Error - How can I log the Query (not only _error_messge())

#1
[eluser]ladooboy[/eluser]
Hi Guys !

I am using active record for the query.

I was wondering if there is any way logging the query which resulted in an error.
_error_message()
_error_number()

Bother return to less information for the log. I need to know the exact query with the values, which caused a problem and I am struggling to log them.

This information is usually shown on screen when DB debugging is enabled.


Messages In This Thread
MYSQL Error - How can I log the Query (not only _error_messge()) - by El Forum - 06-13-2010, 04:12 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.