Reading unknown number of form variables -? need a hint/help..
| From: | Paul | Date: | Thu, 07 Nov 2002 23:49:51 +0000 |
| Subject: | Reading unknown number of form variables -? need a hint/help.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123281@lists.php.net to get a copy of this message | ||
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 database..) The number
of rows varies.
My question is - I really do not know how to get variables and update
multiple items in a database..I think I need to somehow grab them and
place in array perhaps? I am really not sure..I do not want to reinvent
the wheel..can some one give me hint? Is there a piece of code that I
can look at it and learn from?
Any help would be greatly appreciated
Paul
PS I also would like to place a checkbox (in every row) in the event the
item must be deleted..