Welcome Guest, Not a member yet? Register   Sign In
easy way to catch database insert into errors to stop script from breaking?
#3

[eluser]rbnc[/eluser]
Ignoring errors is never a good idea.

I would set in system/application/config/database.php

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

This will stop your script from breaking when you get an insert error.


Messages In This Thread
easy way to catch database insert into errors to stop script from breaking? - by El Forum - 06-23-2010, 04:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB