Hi all. I am having some problems with this code, any kind of help is greatly appreciated.
It's a shopping cart.
I have one page that is passing products ID through URL to the second page, which then displays the appropriate item from database. The problem is that I want to store multiple products on that second page and display them all. I know this is done with sessions and loop I just can't figure it out. If anybody has any idea I would be very grateful.
Common Problem for a Beginner - Shopping Cart
Moderator: General Moderators
Re: Common Problem for a Beginner - Shopping Cart
There are plenty of sources on the Internet on that. This one would help you at a basic level:
http://v3.thewatchmakerproject.com/jour ... pping-cart
You should get a book on Php and there will be hardly no chance not to have such a chapter dedicated on Sessions and even examples with shopping carts.
http://v3.thewatchmakerproject.com/jour ... pping-cart
You should get a book on Php and there will be hardly no chance not to have such a chapter dedicated on Sessions and even examples with shopping carts.
Re: Common Problem for a Beginner - Shopping Cart
Thanks, I've managed to do it by now.