Hi all. I have a page where people select kids to sponsor for an event. they pick each child by hitting the checkbox next to their name. The code for that portion is:
<INPUT TYPE=checkbox NAME=signup[$counter] VALUE=[$child_pk] unchecked>
where $child_pk is the number of the child from the DB and $counter is simply the increment. That part works fine. In the next page, I want to be able to actually see which one have been selected. I tried:
for ($counter=0; $counter<=20; $counter++)
{
if ($signup[$counter]=="true")
{
$str=$str.$signup[$counter];
echo "$str is selected!";
}
}
So far, this keeps telling me that none of the boxes have been checked.
Anyone see my error?
--charles