Please fix the following problems:"; if (strlen ($name) < 2) { $error = true; $name_error = true; $error_text.= "   - Please enter your name"; } // if () if (!ereg ("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$", $email)) { $error = true; $email_error = true; $error_text.= "
  - That Email Address is not valid"; } // if () if ($attention != 1 && $attention != 3 && $attention != 3) { $error = true; $error_text.= "
   - Please select a subject"; } // if () else { if ($attention == 1) { $attention_text = "Website Issues"; } // if () elseif ($attention == 2) { $attention_text = "Advertising Enquiry"; } // elseif () else { $attention_text = "Other Issues"; } // else } // else if (strlen ($enquiry) < 2) { $error = true; $enquiry_error = true; $error_text.= "   - Please leave a message"; } // if () if (!$error) { // Send the Email $the_date = date ("g:i:s a, j/n/Y"); $to = "Top100CasinoSites.com Admin "; $from = "FROM: ".$name." <".$email.">"; $subject = "Response from the Top100CasinoSites.com website"; $body = "This message was sent from the feedback form of the Top100CasinoSites.com website at ".$the_date.".\n\n"; $body.= "This message was sent from:\n"; $body.= " Name: ".$name."\n"; $body.= " Email: ".$email."\n"; $body.= " Phone: ".$phone."\n\n"; $body.= "Subject: ".$attention_text."\n\n"; $body.= "Message:\n\n"; $body.= "************************************************************\n\n"; $body.= $enquiry."\n\n"; $body.= "************************************************************\n\n"; mail ($to, $subject, $body, $from); $action = "sent"; } // if () } // if () //********************************************************************************\\ ?> <?php echo $page_title; ?>




Contact Us

Your message has been sent and we will respond shortly.

Thank you for your message.

Please complete the form below to contact us.

Your Name:

Your Email Address:

Subject:

Your Message