google analytics tracking test
if($_POST['action']=="form_submission") { $name = $_POST['name']; $recipient = "jamielyko@gmail.com"; $email = $_POST['email']; $subject = "Inquiry from larkandawl.com"; $text = $_POST['text']; $messagebody=" Someone just used the contact form at larkandawl.com. $name ($email) submitted this inquiry: $text "; $headers = "from: " . $email . ""; mail($recipient,$subject,$messagebody,$headers); $formtitle = "
Thank you for submitting your inquiry.
+ go back +
"; if ( empty($_POST['name']) OR empty($_POST['text']) OR empty($_POST['email']) ) { $formtitle = "
Oops! There was a problem with your submission. Please complete the form and try again.
"; } } else { $formtitle = "
"; } ?>
lark & awl
echo $formtitle ?>