You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
World Wide Web Server edited this page Jul 4, 2012
·
9 revisions
Connection
TODO: please contribute to complete this wiki.
Active Record
TODO: please contribute to complete this wiki.
Error Handling
The examples in the user guide enable database debugging. In this mode, database errors are handled by CodeIgniter and error are displayed. Generally this is not what you want in a production site. To disable debuggin change the following line in config/database.php file:
$db['default']['db_debug'] = TRUE;
to
$db['default']['db_debug'] = FALSE;
After setting this, you can use the return value of database operation methods. Example: