I have an HTML form:
<html>
<body>
<form method="post" action="test.php">
<input type="text" name=" TEST " value=" TEST "/>
<input type="submit" />
</form>
</body>
</html>
It submits to the following PHP page:
<?php
var_dump($_POST);
When I submit the form without modifying any values, the resulting page displays:
array(1) { ["TEST___"]=> string(12) " TEST " }
Where did the left spaces/underscores go in the key name? How can I get the left spaces/underscores back?