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.

Any ideas?

Does the new edition cover this?


Cheers in advance for any tips,

CaptainChainsaw