$this->db->update('TABLE_NAME', $data, $where)
Fatal error</b>: Call to a member function real_escape_string() on a non-object in ci\system\database\drivers\mysqli\mysqli_driver.php
<p>Severity: Error</p><p>Message: Call to a member function real_escape_string() on a non-object</p><p>Filename: mysqli/mysqli_driver.php</p>
Fatal error</b>: Call to a member function real_escape_string() on a non-object in ci\system\database\drivers\mysqli\mysqli_driver.php
<p>Severity: Error</p><p>Message: Call to a member function real_escape_string() on a non-object</p><p>Filename: mysqli/mysqli_driver.php</p>