How to use session in model of codeigniter
问题 I created a code for password change, in postman I should give old and new passwords with userid , when I create change password, but can't change password, it remains same in database and I think the problem is with session. Can someone see the error in my code? Controller public function changepasswordcheckagain() { $arr = array(); $arr['old_password'] = $this->input->post('old_password'); $arr['new_password'] = $this->input->post('new_password'); $this->load->model('User_model'); $result =