Posted by Rainman on 11/23/05 03:37
> Name the list "var[]" instead of "var"...
Thanks for contributing a reply, but I cannot decode your answer. And I
still haven't found the answer to my situation.
I'm not naming anything 'var' or 'var[]'/ Rather, I'm just using the
$_GET or $_POST array to access what is supplied through GET or POST
(thus far in my code). The 'var' part comes in the querystring (or from
$_POST variables) (depending on the method I use in my form).
Are you referring to the parent page that has the form?
I tried what I think is your suggestion by doing this:
$var[] = $_GET[var]; print_r($var[]);
but this just gives me syntax errors.
Other ideas?
Mark
[Back to original message]
|