Say from the previous form, name of two input boxes, containing:
nameh1="qwe"
nameh1="asd"
Then submit to the form with the code below:
I am using a loop rather than coding it again
<?php
$j=1;
$num=2;
while ($j<=$num)
{
$name.''.$j = $_POST['nameh'.$j];
echo "$name".$j;
echo "<br>";
$j++;
}
The problem here is that it only prints qwe infinitely. Any ideas, anyone?