I have a WAMP server setup and I have the following form in file login.php
<form action="login.php" method="post">
Username: <input type="text" id="loginUsername" />
Password: <input type="password" id="loginPassword" />
<input type="submit" value="Log-in" id="login" />
</form>
And in the same file I have this PHP:
if(isset($_POST))
{
print "post is set";
print_r($_POST);
}
However the print_r() never displays any of the field's values. I have tried using the get method in the form too.
Is this something to do with hosting on WAMP?