$msg =$_POST['Company_Name']; $to='contact-us@syntheticoils.us'; $subject='Catalog Request'; $number =$_POST['no-spam']; if ($number==12) { mail($to,$subject,$msg); echo 'Thanks for the submission.'; } else { echo 'Did you answer the math question? Your comment was not sent.'; }