Re: how to passing two dimension array

From: Date: Thu, 09 Jan 2003 13:53:45 +0000
Subject: Re: how to passing two dimension array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130940@lists.php.net to get a copy of this message
if $i=1 and $j=2, you should be able to get $_POST['vari'][1][2] in page2.php Rizki Salamun wrote:
hi there.. I have a problem when I want to passing two dimension varible. I made this variable from html form. like this: <FORM method=post action="page2.php"> <? print "<SELECT name=\"vari[$i][$j]\">"; ?> <OPTION value="A">a <OPTION value="B">b ....... ....... </SELECT> </FORM> but when again I want to print the $vari[$i][$j, in the page2.php it seems doesnt recognize this variable. thanks -rizki-


« previous php.general (#130940) next »