Hi.
Say I have a FORM that passes three variables:
var1, var2, and var3
I want the PHP page that reads the form to LOOP through and read each one.
What I have is:
$i=0;
while($i < 3) {
$tempVar="$var" . $i;
echo("var" . $i . "= " . $tempVar . "\n"
echo("<BR>\n"
$i=$i+1;
}
This doesn't work, obviously, and I can't figure out how to make PHP make $tempVar equal to what in essence is: "$var" . $i;
Can anyone help me out on this?
Thanks,
Jeff