Re: [PHP] Reading unknown number of form variables -? need a hint/help..

2002-11-08 Thread Marek Kilimajer
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]\

[PHP] Reading unknown number of form variables -? need a hint/help..

2002-11-07 Thread Paul
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

[PHP] Reading unknown number of form variables -? need a hint/help..

2002-11-07 Thread Paul
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