Hello everyone!
I have this update code but returns error
$data = array('password', $new_password);
$this->db->where('email', $this->session->userdata('email'));
$update_query = $this->db->update('users', $data);
I am trying to update the password of the user
