Do you have a simple example of how to create a multi-dimensional array and store it in a session variable? Regards, ~Dave ------------------------------------- Play more pool! www.mbpoolplayers.com ------------------------------------- -----Original Message----- From: Richard Lynch [mailto:ceo@xxxxxxxxx] Sent: Friday, January 28, 2005 11:35 AM To: Bosky, Dave Cc: php-general@xxxxxxxxxxxxx Subject: Re: Best method to store shopping cart contents 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 HTC Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php