Currently, I'm adding a iteration behind each input to differentiate them. E.g.
<input type ="text" name = "Item<?=$i?>"/>
$i is an iteration using for loop.
My problem is, how to process it at the php side?
$itemName = $_POST['Item'];
I can't possibly hardcode it for the name inside post to be $POST['Item1'], $POST['Item2'], $_POST['Item3']....
If there are more than 10 items, it's too long. Any help?