Re: array through url?
| From: | Mark Maggelet | Date: | Fri, 27 Jul 2001 18:22:59 +0000 |
| Subject: | Re: array through url? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-59986@lists.php.net to get a copy of this message | ||
On Fri, 27 Jul 2001 14:21:41 EDT, (drwebpat@aol.com) wrote:
>Is it possible to send an array of numbers into a php file through a
>url?
>Like if I have a file that adds numbers together, could I send it
>
>www.domain.com/add.php?num=2,3,4,5
>
>$num would be an array.
on the next page just go:
$num=explode(",",$num);
either that or use serialize/unserialize.
- Mark