RE: [PHP] Passing arrays from page to page
| From: | ..s.c.o.t.t.. [gts] | Date: | Wed, 25 Apr 2001 22:40:24 +0000 |
| Subject: | RE: [PHP] Passing arrays from page to page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50379@lists.php.net to get a copy of this message | ||
well, one idea is to serialize the array and put
into a HIDDEN text field to be submitted with
the FORM.
or, with no form, try this:
"doc.php?myarray=". htmlentities(serialize($array));
> -----Original Message-----
> From: Clif [mailto:cwieden@capecod.net]
> Subject: [PHP] Passing arrays from page to page
>
> I'm trying pass an array from one page to another.
>
> Page 1 is a form.
> Page 2 has the data sent by Page 1 available in $HTTP_POST_VARS.
> This is where I'm stuck: Page three needs access to those same variables
> in $HTTP_POST_VARS.