[eluser]Dimitar Velkov[/eluser]
Hi I have a problem how to get post array data.
Example of what I need:
Code:
<input name="data[]" />
<input name="data[]" />
<input name="data[]" />
<input name="data[]" />
and now how to get this data in to the controller
something like this
Code:
$array = $this->input->post('data');
for ($i=0; $i<count($array); $i++) {
echo $array[$i];
}