[eluser]vishok[/eluser]
i'd like to update a table but i have few problem.
i made this but not function
$fields = $this->db->list_fields($this->tbl);
$data = array();
foreach ($fields as $field) {
$this->object_custom->chiave = $field;
$this->object_custom->valore = $this->input->post($field);
array_push ($data,$this->object_custom);
}
$this->db->update($this->tbl, $data);