Re: Passing an array on
| From: | Girish Nath | Date: | Wed, 22 May 2002 16:14:01 +0000 |
| Subject: | Re: Passing an array on | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98761@lists.php.net to get a copy of this message | ||
Hi
You could try :
http://www.php.net/manual/en/function.serialize.php
http://www.php.net/manual/en/function.unserialize.php
Pass the serialized array in the URL, then unserialize it back when in the
target page.
Regards
Girish
--
www.girishnath.co.uk
"John Fishworld" <john@webital.de> wrote in message
news:009501c201aa$a077d070$04010a0a@fishworld...
> Whats the best way to pass on array on in a link ?
>
> eg
> offset is where we are (what page)
> but state is an array, with a variable size
>
> href=joblist.php?offset=$offset&state=$state
>
> thanks
>
>