Re: Passing Array through URL
| From: | Christian Reiniger | Date: | Tue, 19 Jun 2001 14:21:10 +0000 |
| Subject: | Re: Passing Array through URL | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54381@lists.php.net to get a copy of this message | ||
On Tuesday 19 June 2001 07:51, Reuben D Budiardja wrote:
> Hello,
> I have one-dimensional array with a very a lot elements (say, about
> 300). What is the best way to pass it through URL? do I use something
> like implode the whole thing and then pass it, or do I use something
> like serialize, or any other way?
* Write it to the database (using serialize())
* Pass the record ID via URL
* Read from the DB in the receiving script
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
void sleep(){for(long int sheep=0;!asleep();sheep++);}