I have a very simple shopping cart program in PHP.
The contents are listed from the database.If I click a "Add to cart " button that particular item is listed in "My Cart".
When I click another item then the new item is displayed instead of getting added to the cart .I want the next item to get added to the previous list.Please help me.
The files are:
index2.php - http://pastebin.com/mi7NpxAs
addtocart.php - http://pastebin.com/Q50CeikP
shopend.php - http://pastebin.com/Yj3KBAKY
Post a Reply
|Oldest Newest Rating|