Re: array carrying from one php page to another
| From: | Curt Zirzow | Date: | Thu, 08 Dec 2005 07:59:12 +0000 |
| Subject: | Re: array carrying from one php page to another | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227122@lists.php.net to get a copy of this message | ||
On Thu, Dec 08, 2005 at 02:39:46AM -0500, Zack Bloom wrote:
> you could just pass in in the address, eg:
> www.example.com?var1=$var1&var2=$var2
>
> to get them use $_REQUEST['var1']
>
> to pass an array you could use serialize($var1) and unserialize($var1)
Or just use http_build_query() (php5 only)
Curt.
--
cat .signature: No such file or directory