Re: Array Question
| From: | CPT John W. Holmes | Date: | Mon, 02 Jun 2003 19:36:19 +0000 |
| Subject: | Re: Array Question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-28242@lists.php.net to get a copy of this message | ||
> Hello everyone. If I wanted to pass a item ID along with a quantity to an
> associative array called "CartArray" how would I pass it to the PHP
script?
>
> I'll get this shopping cart working yet !!
If the question is how do you pass an array to another PHP page, you
serialize() and urlencode() it, then pass it in the URL. On the following
page you unserialize() it.
---John Holmes...