Re: Best method to store shopping cart contents
| From: | Richard Lynch | Date: | Fri, 28 Jan 2005 16:35:22 +0000 |
| Subject: | Re: Best method to store shopping cart contents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207606@lists.php.net to get a copy of this message | ||
Bosky, Dave wrote:
> I've written some nice shopping carts in Cold Fusion that use a session
> variable to hold an array of structures.
>
> I need to convert the shopping cart to PHP but I'm unsure of how to store
> the cart's contents using PHP.
>
> Should I create a multi-dimensional array and store it a session variable?
Sounds like a plan to me.
> Any good tutorials/examples on creating shopping cart apps using PHP?
There are a few zillion, actually...
Just Google for "PHP shopping cart" and you should find a ton of source
code, or a hundred carts you could just start using instead of
re-inventing the wheel.
--
Like Music?
http://l-i-e.com/artists.htm