if ($Returned == 1 AND !$persName) {
$error .= "Please enter your Name.
\n";
}
elseif ($Returned == 1 AND (!$persEmail OR !ereg("([[:alnum:]\.\-]+)(\@[[:alnum:]\.\-]+\.+)", $persEmail))) {
$error .= "Please enter a correctly formatted EMAIL ADDRESS.
\n";
}
elseif ($Returned == 1 AND (!$persAddress OR !$persCity OR !$persZip OR !$persState)) {
$error .= "Error - Please enter your complete ADDRESS.
\n";
}
if ($Returned == 1 AND (strlen($error)==0)) {
$Message = "* * Contact Form Submission from www.littlecottagebooks.com * *
Name: $persName
Email Address: $persEmail
Address:
$persAddress
$persCity, $persState $persZip
General Comments (if any):
$comments
- - - END OF DATA FROM SUBMISSION - - -
Little Cottage Books
URL: http://www.littlecottagebooks.com
Email: lee@littlecottagebooks.com";
mail($MailTo,"Contact Request Form (Little Cottage Books)", $Message, "From: $persEmail");
// mail("Keith@webgraffix.com","Copy - Contact Request Form (Little Cottage Books)", $Message, "From: $persEmail");
Header("Location: thankyou1.php");
exit;
}
?>
Little Cottage Books
|
|
if ($error) {
echo "
Error! $error ";
}
?>
|
Little
Cottage Books
106 Sandra St.
Thomasville, Ga 31792
Phone: (850) 445-3536
Email: brendaclee3@gmail.com
Please fill out the short form below
to contact us by email.
|
|
|
|
|