how can I catch the form checkbox array in ZF
I make the well known code like this:
Code: Select all
start loop
<input type="checkbox" name="id[]" value="" />
end loopCode: Select all
$theID[] = trim($post->getAlpha('id[]'));and if I do that /* without the brackets*/
Code: Select all
$theID[] = trim($post->getAlpha('id'));