you can use serialize() and unserialize() and make sure that you urlencode()
and urldecode() the serialized string before attaching it to your URL.  if
you don't, you might find that some chars will not be right on the other end
of the line.

Jim Lucas
----- Original Message -----
From: "John Fishworld" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 22, 2002 9:05 AM
Subject: [PHP] Passing an array on


> 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
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to