Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] How to get last SQL error
#4

[eluser]bretticus[/eluser]
I assume you are using the mysql driver (the default.) I don't believe error suppression will deactivate mysql_error() from working:

Code:
echo mysql_errno() . ": " . mysql_error(). "\n";

Worth trying. Smile

I also assume when you say "without debug" you mean you have disabled it in the configuration:

Code:
$db['default']['db_debug'] = FALSE;

(which is not the default.)


Messages In This Thread
[SOLVED] How to get last SQL error - by El Forum - 12-12-2009, 06:43 AM
[SOLVED] How to get last SQL error - by El Forum - 12-12-2009, 07:28 AM
[SOLVED] How to get last SQL error - by El Forum - 12-12-2009, 02:12 PM
[SOLVED] How to get last SQL error - by El Forum - 12-12-2009, 04:00 PM
[SOLVED] How to get last SQL error - by El Forum - 12-14-2009, 05:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB