You have not filled out the required fields"; }else{ Header("Location: thanks.htm"); $send_to="clerk@parrettandaxe.org.uk"; $subject="Parrett and Axe - Comment"; $content="Name: ".$name. "\n" ."Email: ".$email. "\n" ."Comments: ".$comments. "\n" ."Where did you hear about Daisy Baby: ".$where_heard. "\n"; $from_address="clerk@parrettandaxe.org.uk"; $send_to=trim($send_to); $subject=trim($subject); $content=trim($content); $from_address=trim($from_address); mail($send_to, $subject, $content, "From: $from_address \r\n" . "Reply-To: $from_address \r\n" . "X-Mailer: PHP \r\n" ); } } ?>
|
||||||||||||||||||
|
||||||||||||||||||
|
||||||||||||||||||