i am using a submit form to pass information about an array. i want to pass the array as well. this is what i have for the submit part
echo "<form action='$PHP_SELF?action=arraypass' method='post'>";
for ($i=0; $i<$left; $i++) {
print_r($number[$i]);
print(": <input type=\"Checkbox\" name=\"name".''.$i.''."\" value=\"$number[$i]\">");
};
printf ("<input type=\"hidden\" name=\"left\" value=\"$left\">");
printf ("<br><input type=\"submit\" value=\"Submit\"></form>");
this is what i want to do with it, see what sections are checked and what now
for ($i=0; $i<$left; $i++) {
$name=${"name$i"};
if ($name)
$unselected[] = $number[$i];
};
right now, it does not see the array of $number