Please go back and complete all the fields in the form.

"; // This is displayed when the email has been sent $thankyou_message = "

Thankyou. Your message has been sent.

"; // You do not need to edit below this line $name = stripslashes($_POST['txtName']); $email = stripslashes($_POST['txtEmail']); $message = stripslashes($_POST['txtMessage']); if (!isset($_POST['txtName'])) { ?>




"); // Display the thankyou message echo $thankyou_message; } ?>