Sorry I'm new to this. Am I meant to save my form page as a html extension or php. I've not tried it both ways and the values still aren't being displayed on either the screen or in the email. I am getting a blank email through though. The revised code is as follows:
<html>
<head>
<title>Online Submission Results</title>
</head>
</body>
<?PHP
#Sending the user to new page when details submitted
$First = $POST['First'];
$message = $POST['message'];
echo "<p>Thank you, <b>".$POST["First"]."</b>, for your online registration. </p>";
echo "<p> ".$POST["message"]."</p>";
Registering Email Variables
$Title = $POST['Title'];
$Other = $POST['Other'];
$Surname = $POST['Surname'];
$Email = $POST['Email'];
$date = date("F j, Y, g:i a" );
$message= "The following details have been submitted:";
$message .="Title: $Title";
$message .="Other: $Other";
$message .="First: $First";
$message .="Surname: $Surname";
$message .="Email: $Email";
#setting up the email
$recipient="patricia@mooregroup.ie";
$subject="Online Form Submission";
$mailheaders="MIME-Version:1.0\r\n";
$mailheaders.="Content-Type:text/plain ; charset=ISO-8859-1\r\n";
$mailheaders.="From: $Email";
#send the mail
mail($recipient,$subject,$message,$mailheaders);
?>
</body>
Thanks