I have this code and dont know how to convert it. could someone please help. i have very little knowledge of php but need a fix for this asap. TIA
while ($idx < $fieldsx)
{
list(, $valueEE) = each($_POST['fieldE']);
list(, $valueFF) = each($_POST['fieldF']);
list(, $valueGG) = each($_POST['fieldG']);
list(, $valueHH) = each($_POST['fieldH']);
if($valueEE)
{
echo "<input type='text' value='".$valueEE."' name='fieldE[]' /><input type='text' value='".$valueFF."' name='fieldF[]' /><input type='text' value='".$valueGG."' name='fieldG[]' /><input type='text' value='".$valueHH."' name='fieldH[]' /><br />";
}
$idx++;
}