[PHP] Re: passing an array in a link

2002-08-11 Thread Bogdan Stancescu
Ok, I don't know if you already solved this, but you might want to do something like $SerKeylist=rawurlencode(serialize($keylist)); print "link"; on the source end and $keylist=unserialize($_GET["SerKeylist"]); at the destination. This of course will build quite an URL for large arrays, so y

[PHP] Re: passing an array in a link

2002-08-11 Thread B.C. Lance
you could try this: transmitting end: $value) { $searchArg .= "keylist[]=".htmlentities($value)."&"; } ?> array from search argument receiving end: foreach($_GET["keylist"] as $key => $value) { echo "{$value}"; } David T-G wrote: > Hi, all -- > > I collect field keys in an array that