'; } if($yourname=='Your Name*') { $blankyourname = ''; } if($subject=='Subject*') { $blanksubject = ''; } $blankformerror = '

Please fill out all required fields correctly.

'; } else { $blankformerror=''; $body = '

Hello,

There has been a message submitted online.


Name: '.$name.'

Phone: '.$phone.'

Email: '.$email.'

Message: '.$message.'

'; $body .= ''; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-Type: text/html; charset=iso-8859-1' . "\r\n"; $headers .= 'From: Contact Us Form <'.$email.'>'; if(mail($mailto, $subject, $body, $headers)){ $confirmPopup = ''; $name = ""; $phone = ""; $email = ""; $message = ""; } else { $contactscreenmessage = '

There has been an error sending.

'; } } } ?> <? echo $page; ?>

Please fill out the form below to send to a friend.