@ShiVik - _error_number() _error_message(), .
/config/database.php. db_debug = FALSE.
The way I handle this function on my system is to simply check the result returned by the ActiveRecord class using something like
if($this->db->update('patient', $data) === TRUE) {
$flash_data = array('type' => 'success', 'message'
=> 'Update successful!');
$this->session->set_flashdata('flash', $flash_data);
}
Although the use of the data system of the flash session is up to you :) You need to add the appropriate interface to this in your viewing files and configure as you wish, etc.
source
share