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-





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to