I've got an HTML form with several text fields on it, all of them having names like "qty.1", "qty.2", etc (ie they've got dots in their names).
When the form is submitted to a PHP script the field names seem to have been changed so that the dots are changed to underscores (ie "qty.1" is now "qty_1").
Does anyone know why this is happening?
The following test script shows this in action:
<form method="post" action="<?=$PHP_SELF?>">
<input type="text" name="a.b">
<input type="submit" value="Submit">
</form>
<?
while (list($key, $val) = each($HTTP_POST_VARS)) {
echo "<p>$key = $val</p>";
}
?>