I'm trying to implement a simple form. I've pretty much been using the format in the PHP book I bought, but everytime I submit this form, it just reloads the form again.
<p>Music Lab Login</p>
<form action="<Full URL of this file>" method="post">
<p>Username:<br />
<input type="text" name="username" size="20" maxlength="20" value="" /></p>
<p>Password:<br />
<input type="password" name="pw" size="20" maxlxength="20" value="" /></p>
<input type="submit" name="submit" value="Login" />
</form>
<?php
if(isset($_POST['submit'])) {
echo "Got it";
}
?>