• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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