Contact Michael


Return to Home Return to Family Facts and Rumours

     Your comments and information are welcome. Please fill in the form below to contact Michael Laidlaw


"; if($_POST['post_name'] == ""){ echo "
  • Please enter your name
  • "; } if($_POST['post_subject'] == ""){ echo "
  • Please enter a reason
  • "; } if($_POST['post_email'] == ""){ echo "
  • Please enter your email address
  • "; } if($_POST['post_comments'] == ""){ echo "
  • Please enter comments
  • "; } echo "
    "; } $message_sent = false; if($_POST['post_contact'] != "" && $_POST['post_name'] != "" && $_POST['post_subject'] != "" && $_POST['post_email'] != "" && $_POST['post_comments'] != ""){ $headers = "From: \"" . $_POST['post_name'] . "\"<" . $_POST['post_email'] . ">\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-Type: text/html"; @mail('michael@laidlaw.net.nz', "Contact from familytree.laidlaw.net.nz : ".$_POST['post_subject'], str_replace("\n", "
    ",$_POST['post_comments']). "

    You can reply directly to this message.", $headers); $message_sent = true; } if(!$message_sent){ ?>
    Your Name:
    Reason for contact:
    Your Email Address:
    Comments:
     
         Thank you, your comment has been sent.