Hi,
I use this simple form containing 4 input fields with same name:
<form action="parse.php" action="post">
<input type="text" name="fData" value="87">
<input type="text" name="fData" value="89">
<input type="text" name="fData" value="122">
<input type="text" name="fData" value="18">
<input type="submit" value="GO">
</form>
When retrieving these form values, I only get the last input field named "fData". Here's the PHP code used:
while (list ($key, $val) = each ($_POST)) {
print $key . " : " . $val . "<br>";
}
How can I access ALL input fields with same name ?
Thanks to anyone helping on this !
Louis-Gilles