For HTML form array, You need to set tag name to be array in HTML as shown in below example:
#The inputs should be inside the loop in the php program which will generate the HTML form. …… #don’t forget to have $i++
In the php program, you need to use a loop and POST array to get all the values from HTML form. You can refer to below codes: for($i=0;$i not avaialble sometimes. The key is to have array type on input name (like address[$i], $i is the loop index when you display all the products) as shown below input type='text' size='40' name='address[$i]' and retrieve the variable name and value as shown below: $address= $_POST['address'][$i]; Below statement shows how to get the number of records sent from HTML FORM in PHP program. $size = count($_POST['address']);