if( isset($_POST['frmsub']) && $_POST['frmsub'] == "makecontact")
{
$to = "tyler@tylerjacksondesign.com";
$subject = "Guilty People Contact";
$fullname = $_REQUEST['fullname'] ;
$email = $_REQUEST['email'] ;
$state = $_REQUEST['state'] ;
$why = $_REQUEST['why'];
$headers = "From: $email";
$message = " Full Name: $fullname \n\n Email: $email \n\n State: $state \n\n Why they are contacting: $why ";
$sent = mail($to, $subject, $message, $headers) ;
}
else
$sent = false;
?>
if( isset($_POST['sstory']) && $_POST['sstory'] == "suggeststory")
{
$to = "tyler@tylerjacksondesign.com";
$subject = "Guilty People Story Suggest";
$who = $_REQUEST['who'] ;
$email = $_REQUEST['email'] ;
$what = $_REQUEST['what'] ;
$why = $_REQUEST['why'];
$how = $_REQUEST['how'];
$headers = "From: $email";
$message = " Name: $who \n\n Email: $email \n\n What: $what \n\n Why: $why \n\n How to make Contact: $how ";
$sent1 = mail($to, $subject, $message, $headers) ;
}
else
$sent1 = false;
?>
if( $sent ) {?>
} else { ?>
} ?>
if( $sent1 ) {?>
} else { ?>
} ?>
















