I got this stupid problem:
I create an HTML list of inputs: <input name="Answer[]" type='checkbox'>  that 
stretches to some 25 elements.

When I try to read the values ("on" or "off") with the code below, PHP won't read past 
the 8th. element and says it's found an undefined variable (which is $x). No matter 
what I do, it's always the 8th. element.


for($x = 1; $x <= ($TotalAnswers); $x++)
{
     echo($Answer[$x]);
}

Anyone has a prompt solution? I'm getting desperate.
Thanks, Pepinho.

Reply via email to