Skip to content

Instantly share code, notes, and snippets.

@ExperimentGarden
Created March 12, 2010 19:48
Show Gist options
  • Save ExperimentGarden/330702 to your computer and use it in GitHub Desktop.
Save ExperimentGarden/330702 to your computer and use it in GitHub Desktop.
<form action="index.php" method="post" enctype="application/x-www-form-urlencoded">
<h3>Log In</h3>
<b>Email Address</b> <br />
<input type='text' name='loginEmail' />
<?php
if($unknown_email)
{
echo "Unknown email address.";
}
?>
<br />
<b>Password</b> <br />
<input type='password' name='loginPassword' />
<?php
if($wrong_password)
{
echo "Wrong password!";
}
?>
<input type='hidden' value='dummy' name='login' />
<br /> <br />
<input type='submit' value='Log In' />
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment