note 8779 deleted from Variables from outside PHP by ronabop
| From: | ronabop@php.net | Date: | Thu, 28 Sep 2000 15:30:27 +0000 |
| Subject: | note 8779 deleted from Variables from outside PHP by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5550@lists.php.net to get a copy of this message | ||
Hi, men!
I have the following problem:
<FORM>
...
while ($i<5)
{
while ($j<4)
{
echo"<INPUT TYPE='text' name='answer[$i][$j]'>;
$j++;
}
$i++;
}
...
</FORM>
This needed by an online quiz. $i and $j are user-defined variables. If I submit the form, in the
url I see answer%5B1%5D%5B2%5D=..., but the php cannot do anthing with this.
So how can I pass 2 parameters for a variable?
Thanx
Cs