Re: Array Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux