Sorry, I have the feeling that this is a dumb question. Many nice shopping carts present a list of items and associated quantities; the user can update any or all of the quantities and hit a single 'Update' button to get new price totals. I don't understand the method by which all of these values are passed to the cart. I understand passing values with specific variable names, but a list..?
You can pass as an array.
ie:
<input type=text name=thisisanarray[] value='Enter a Value'> <input type=text name=thisisanarray[] value='Enter a value here too'>
will evaluate to a single two element array.