Like I said, I had the feeling he was processing radio buttons, not checkboxes. You're right, for checkboxes, you need them to be unique. I use this kinda naming:
<checkbox name=cb[0][] value=0>
<checkbox name=cb[0][] value=1>
<checkbox name=cb[0][] value=2>
<checkbox name=cb[0][] value=n>
<checkbox name=cb[1][] value=0>
<checkbox name=cb[1][] value=1>
<checkbox name=cb[1][] value=2>
<checkbox name=cb[1][] value=n>
then you can just walk the array by number. Since a lot of times the checkboxes are made from a static arrya like
$checkboxnames = array("stan","laurel","hardy");
You already know the position in the array and all.
Thanks for the catch.