note 8779 added to Variables from outside PHP

From: Date: Thu, 28 Sep 2000 02:26:58 +0000
Subject: note 8779 added to Variables from outside PHP
Groups: php.notes 
Request: Send a blank email to php-notes+get-5485@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 http://www.php.net/manual/language.variables.external.php

« previous php.notes (#5485) next »