Hi,
I've got a form containing
<input type=checkbox name="orange" value="true">orange<br>
<input type=checkbox name="apple" value="true">apple<br>
that sends the info to a 2nd php form which contains
$array = array($GET[orange],$GET[apple]);
$x=0;
for ($x=0;$x<2;$x++) {
if ($array[$x]) {
echo $array[$x]."<br>";
}
}
This prints out the word "true" for each input box that is selected, but what i really want is, of course, the name of the fruit, a line of "true"'s doesn't help much.
Is there a "name" kind of a thing i can use here?
Thanks,
Jenny.
"oranges are not the only fruit"