Re: [PHP] Passing an array on

2002-05-22 Thread Jim lucas

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




[PHP] Passing an array on

2002-05-22 Thread John 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



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