quantity in shopping cart
Posted: Mon Mar 01, 2010 11:51 pm
hello,
I tried myself for 6 to 7 hours continuously and now after getting my mind fuse, i'm writing here.
I've designed a shopping cart (cart.php).
If user presses UPDATE button on cart, it'll be re-directed to cart_update.php where quantities has to be updated.
My problem is that i don't know how to update all item's qty.
cart may have 2 items or 10 items.
Cart fetches detail including qty from database.
I'm very new in PHP so perhaps this will be very stupid question.
Thanks in advance.
I tried myself for 6 to 7 hours continuously and now after getting my mind fuse, i'm writing here.
I've designed a shopping cart (cart.php).
If user presses UPDATE button on cart, it'll be re-directed to cart_update.php where quantities has to be updated.
My problem is that i don't know how to update all item's qty.
cart may have 2 items or 10 items.
Cart fetches detail including qty from database.
I'm very new in PHP so perhaps this will be very stupid question.
Thanks in advance.