Problem in updating field in codeigniter please help
Posted
by pokhara
on Stack Overflow
See other posts from Stack Overflow
or by pokhara
Published on 2010-06-04T14:30:30Z
Indexed on
2010/06/07
21:02 UTC
Read the original article
Hit count: 193
codeigniter
It says , you must use the “set” method to update an entry. Pls help
My model is
$this->db->where('id', $this->uri->segment(3));
$this->db->update('mytable', $data);
My controller is
$data = $this->db->select('mytable', $_POST);
$this->contact_model->model_update_function($data);
© Stack Overflow or respective owner