if (isset ($_POST['Submit'])) {
$problem = FALSE;
if ((!$_POST['name'])||($_POST['name']=="")) {
$problem = TRUE;
}
if ((!$_POST['title'])||($_POST['title']=="")) {
$problem = TRUE;
}
if ((!$_POST['company'])||($_POST['company']=="")) {
$problem = TRUE;
}
if ((!$_POST['help'])||($_POST['help']=="")) {
$problem = TRUE;
}
if ($problem == FALSE){
$body2 = "
Dear Tracey,
The fallowing individual has filled out the contact form from out website. Here is the information that they supplied.
Name: ".$name."
Title: ".$title."
Company:".$company."
What can we help you with?
".$help."
To view what is included in the different packages please visit http://www.jinglebrokers.com/services.html
If you have any questions please contact us at (888) 486-0800 or e-mail us: InstantQuote@JingleBrokers.com. Thank you. ";
mail('instantquote@jinglebrokers.com','Jingle Brokers - Your Free Instant Quote', $body2 , 'From: instantquote@jinglebrokers.com');