Re: Passing Arrays

From: Date: Thu, 05 Apr 2001 14:13:18 +0000
Subject: Re: Passing Arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47255@lists.php.net to get a copy of this message
Cheers, that works great. I tried using urlencode but that doens't work like it should in the manual. Thanks, Jord On Thursday 05 April 2001 14:41, you wrote: > You have to do this: > > $myarray = rawurlencode(serialize($myarray)); > > And then this on your other page: > > $myarray = unserialize(rawurldecode($myarray)); > > You should consider using sessions instead. > > > Jordan Elver <jjelver@worldsites.net> wrote: > Hi, > How can I pass an array between two pages. I've tried using serialize and > unserialize. But it doen't return an array. When I use gettype() on it, it > say's that the typ-e is boolean? > > Any ideas? > > Cheers, > > Jord

« previous php.general (#47255) next »