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
Are you actually checking more than eight checkboxes? Otherwise you don't _get_ the
ones which are unchecked at all - that's the way it works. The ideal way to do this -
if you have to do it with arrays - is to walk
$Answer and check WHAT'S in there, rather than IF there is something in there.
2 matches
Mail list logo