That way, you can take advantage of the name as an array server-side (PHP).
I'm assuming you are POSTing the data.
I would do it like this:
- Code: Select all
$inpArr = $_ POST['inp];
$optArr = $_ POST['opt'];
for($i=0;$i<sizeof($inpArr);$i++)
echo $inpArr[i];
Hope that makes sense.




