Re: Passing an array on

From: Date: Wed, 22 May 2002 17:21:58 +0000
Subject: Re: Passing an array on
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98768@lists.php.net to get a copy of this message
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" <john@webital.de> To: <php-general@lists.php.net> 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 > >

« previous php.general (#98768) next »