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
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
*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
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
4 matches
Mail list logo