$_GET of array variables
| From: | Yvonne Federowicz | Date: | Wed, 05 Jan 2005 17:43:03 +0000 |
| Subject: | $_GET of array variables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37981@lists.php.net to get a copy of this message | ||
Hello,
I am new to PHP 4, and have not been able to find the answer to this online
or through experimentation yet.
I have array variables from html forms that I am passing back into the php
in order to enter into MySQL. I have had no trouble with simple variables
using
$_GET['simplevariable'] but am not having much luck with anything like:
$_GET["arrayvariable$a"] (1-dimensional array) or
$_GET["arrayvariable$a$b"] (2-dimensional array)
(I've tried several other odd syntaxes such as
$_GET["arrayvariable[$a][$b]"]. Also it's not an \" situation.)
In PHP 3 one can just use the array variables.
Hopefully a simple syntax thing... Thank you for any ideas!
Yvonne