I have a form which allows a user to check off a number of selections. When I pass the form to the next script I want to know which checkboxes were selected. Using the following code is not working, any ideas?
for($i=1; $i<=$num_elements; $i++)
{
if(isset($chk.$i))
{
echo "$i is set.<BR>\n";
unset($chk.$i);
}
}
Thanks for any help you can offer.