$this->db->update('items', $_POST);
$object = new ObjectType(); $object->get_by_id($this->input->post('id')); $object->column = $this->input->post('column'); $object->save;
$object = new ObjectType(); $object->get_by_id($this->input->post('id')); $object->update(array('column1'=>$this->input->post('column'), 'column2'=>$this->input->post('column')); //etc... $object->save;
$this->load->helper('html');