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?


I currently store an object (called Basket ;-) in the Session (for one of my projects) which is in effect the same thing - works great - just remember that if you have objects stored in your session then you must include the class definitions _before_ you start the session.



Any good tutorials/examples on creating shopping cart apps using PHP?


if your a list member then you should have received an email from Richard Lynch - he posted a link to a page he setup that lists pro/cons for LOTS of commerce apps. that would be a good place to start looking!



Thanks,

Dave







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.


not if you send to a mailing list it aint ;-)

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



Reply via email to