06-13-2010, 04:12 AM
[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.
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.