There is a checkbox, it is visually disabled (unchecked), but its html is:
<input type="checkbox" name="type_edit[]" value="1" checked="checked"> The handler is:
if($this->input->post('type_edit')) { foreach($this->input->post('type_edit') as $val){ $data[] = $val; } var_dump($data); die(); // ничего не выводит } // не заходит в это условие Why is that?
var_dump()does not print anything. Make var_dump ($ this-> input-> post ('type_edit')) before this condition; and show what's in it - Johny