I know if you have on a form in checkboxes like:
<input type=\"checkbox\" name=\"mod[]\" value=\"1\">
<input type=\"checkbox\" name=\"mod[]\" value=\"2\">
<input type=\"checkbox\" name=\"mod[]\" value=\"3\">
<input type=\"submit\" value=\"Submit\">
Then on the page that is submits to, if you go like
foreach ($mod as $key) {
echo $key . "<br>";
}
And it will display all the checkboxes you clicked. Now how can you do the same thing if the checkboxes where named like mod[1] and mod[2]??