Its something like:
$res=mysql_query(select item_id, quantity from carts where
customer_id='$customer_id');
// you might want to join with another table to get item names and
others you need
while(list($item_id,$quantity)=mysql_fetch_row($res)) {
echo input name=\quantity[$item_id]\
Hi All:
I have the following setup:
The page contains multiple rows (something like a shoping cart) that
consist of item_id, item_name, and item_quantity. Item Quantity is a
text box that can be adjusted. I have a button to update all items..( I
am using query and based on item_id I can update
Hi All:
I have the following setup:
The page contains multiple rows (something like a shoping cart) that
consist of item_id, item_name, and item_quantity. Item Quantity is a
text box that can be adjusted. I have a button to update all items..( I
am using query and based on item_id I can update
3 matches
Mail list logo