Results 1 to 1 of 1
Jun 1, 2003, 10:07 #1
- Join Date
- Aug 2002
- 0 Post(s)
- 0 Thread(s)
Updating quantities and removing items from shopping cart?
Hey all, I bought Kevin Yank's book "Build Your Own Database Driven Website Using PHP & MySQL" the first edition. Unfortunately when you came to doing the shopping cart it didn't have the essential features such as changing quantities of items in the cart and removing items. I've been working on a site which has a product catalogue and an admin section for changing catagories and other things.
As the book didn't explain how to change quantities and remove items does anyone know how to do this?
I think I'll need to use an associative array and loop round the array with a for each loop then send an SQL query to the database asking for the prices of the selected products. I don't think the book explained this too well, so I'm pretty lost with it.
Does the new edition cover this?
Cheers in advance for any tips,