Here's a bit of code from a codeigniter View:
<li>
<label>Assign volunteer to event:</label><br />
<? foreach ($all_vols as $vol) :?>
<?=form_checkbox('volunteers', $vol) ?>
<?=$vol['username']?>
<br />
<? endforeach ?>
</li>
I'm expecting there to be an array named volunteers in the $_POST variable. Instead, what I'm getting is 'volunteers' => string('array'). Any thoughts what is happening here?