Re: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-15 Thread tedd
At 4:00 PM -0700 9/14/07, Ji H. Park wrote: *The question: How would you have multiple text input forms (on shopping cart page) with different inputted data (product quantities) submitted for querying the database (for changing the quantity of multiple products in the shopping cart at the same

Re: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-14 Thread Gavin M. Roy
Name all your input boxes the same thing, and include a similar level hidden input: input type=hidden name=sku[] value=abc123 / input type=text name=qty[] value=1 / input type=hidden name=sku[] value=abc321 / input type=text name=qty[] value=2 / on your POST $_POST['sku'] $_POST['qty'] will be

RE: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-14 Thread Warren Vail
*The question: How would you have multiple text input forms (on shopping cart page) with different inputted data (product quantities) submitted for querying the database (for changing the quantity of multiple products in the shopping cart at the same time)?*** easy, you can cause multiple

Re: [PHP] About MYSQL/PHP Shopping Cart's Product Quantity Change Input Forms

2007-09-14 Thread brian
Ji H. Park wrote: *The question: How would you have multiple text input forms (on shopping cart page) with different inputted data (product quantities) submitted for querying the database (for changing the quantity of multiple products in the shopping cart at the same time)?*** *Here is an