codeigniter update query return value
public function update_row(){ $update_rows = array( 'name' => 'rincky', 'address' => 'India', 'contact' => '98545785', 'department' => 'IT', ); $this->db->where('id', 1 ); $result = $this->db->update('user', $update_rows); return $result; }