Welcome Guest, Not a member yet? Register   Sign In
How to return database errors ?
#5

[eluser]bhenbe[/eluser]
I'm sorry but i don't find any function example wich return a sql error.

I already read the user guide.

I thought i can find an answer in the Managing Errors chapter :

Quote:if ($this->db->trans_status() === FALSE)
{
// generate an error (how ?)... or use the log_message() function to log your error (how ?)
}

Perhaps, i need to translate this page to understand...

CI manages sql error without debug mode or not ?

Thank you.


Messages In This Thread
How to return database errors ? - by El Forum - 10-07-2009, 06:54 AM
How to return database errors ? - by El Forum - 10-07-2009, 07:20 AM
How to return database errors ? - by El Forum - 10-07-2009, 07:37 AM
How to return database errors ? - by El Forum - 10-07-2009, 07:55 AM
How to return database errors ? - by El Forum - 10-07-2009, 08:07 AM
How to return database errors ? - by El Forum - 10-07-2009, 08:10 AM
How to return database errors ? - by El Forum - 10-07-2009, 08:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB