[eluser]Kamusksn[/eluser]
Got it, now I have a trouble since yesterday...
I have the input checkbox "delete[]" to delete the row if is check, or update if not.
I'm looking that if I don't mark the checkbox there is no value to pass to the array that means.
I have 3 rows, I select one checkbox my
Code:
$data['delete'] = $this->input->post('delete');
will show this ouput, skipping the other values
Quote:Array (0 => on)
What I want to do is use isset to check every item on the array delete[] and if not has value, give them a value of 0. how can I do that or what is the best way to handle this on codeigniter?