I'm using php on a windows server and after submitting a form, I have to do the whole
$var = $_POST[var]; thing.
so in one form I send an array lets call it $name[$number]. well, $number changes each time the form is ran, how would I declair $name[$number] in the next section of the form? this is what I have...
$number = $POST[number]; //works
$count = 1;
do
{
$name[$count] = $POST[name[count]];
$count++
}
while ($count < $number)
this is suppose to do this (assuming $number = 3).
$name[1] = $POST[name[1]];
$name[2] = $POST[name[2]];
$name[3] = $_post[name[3]];
but for some reason it doesn't work, I might be setting up the $_POST thing wrong, let me know if anybody can help. thx!