Mine
public text v1 · immutable<?
$name=$_POST['name'];
$email=$_POST['email'];
$comments=$_POST['comments'];
$to="webmaster@insaneworld.com";
$message="- Information -
Name: $name
Email: $email
- Comments -
Comments: $comments";
if($to) {
mail($to,"Sign Me Up For S & S Sewing News Letter",$message );
echo "<script type=\"text/javascript\">alert('Your Message Has Been Sent');</script>";
} else {
echo "You did not fill in one of the required fields. Please click your back button and try again.";
}
?>