Contact CJBQ

check($_POST['captcha']); if($valid == true) { $user_ip = $_SERVER['REMOTE_ADDR']; $user_agent = $_SERVER['HTTP_USER_AGENT']; $result = mysql_query("INSERT INTO cjbq.tracker (tracker_source, tracker_ip, tracker_agent, tracker_datetime) VALUES ('contact', '$user_ip', '$user_agent', NOW())"); $contact = $_POST['contact']; $row = mysql_fetch_row(mysql_query("SELECT staff_email, staff_name FROM cjbq.staff WHERE staff_id=$contact LIMIT 1")); $to = $row[0]; $yourname = stripslashes($_POST['name']); $postemail = stripslashes($_POST['email']); $postip = $_SERVER['REMOTE_ADDR']; // $to = "jeremyreid@gmail.com"; // $to = "info@mix97.com"; $subject = "Message via CJBQ Website"; $body = stripslashes($_POST['comment']); $fullbody = "A message has been sent to you through the CJBQ website.\r\n\r\nFrom: $yourname\r\nEmail: $postemail\r\n\r\nMessage:\r\n$body\r\n\r\nIP: $postip"; $headers = "From: " . $yourname . " <" . $postemail . ">\r\n" . "Reply-To: " . $postemail . "\r\n" . "X-PostIP: " . $_SERVER['REMOTE_ADDR'] . "\r\n" . "X-Mailer: PHP/" . phpversion(); if (mail($to, $subject, $fullbody, $headers)) { ?>

Your message has been sent to
Notice: Undefined variable: row in /var/www/html/cjbq.com/html/contact.php on line 120

If your message required a response, you should hear back from us shortly.

In the meantime, click Listen Live above to tune in right now, or click here to head back to the home page.

Oh no! Message delivery failed! Please notify the webmaster of this error.

Contact form

Sorry, but the code you entered didn't match the one in the picture. Please try again.

Quinte Broadcasting
P.O. Box 488
10 South Front Street
Belleville, Ontario K8N 5B2

Phone: 613-969-5555
Fax: 613-969-8122

feature artist

Contact form

Prize winners, please see Rules for Winning & How To Pick Up Your Prize.

  © Quinte Broadcasting