I am trying to make a form to add inventory to a mysql database. The trouble im having is that i have a dropdown list of products populated by the database. i have one line that shows the dropdown box then prompts the user for the quantity then hits submit. this works fine, but sometimes we need to enter in multiple products and quantities, so i wanted to add a plus sign or button to add another duplicate line with the product dropdown and input for quantity, then i want to be able to submit both lines into inventory. here is the small test version i am working with, i hope you guys can help!
[php]
Product: testthis Quantity: <?php error_reporting (E_ALL ^ E_NOTICE); $value=$_POST['one']; if ($value!=null) { echo "
Product:Test2 Quantity: "; $value1=$_POST['product1']; $value2=$_POST['product2']; $value3=$_POST['quantity1']; $value4=$_POST['quantity2']; } ?> [/php]