sendContactMail($_POST); if(!empty($response)) { $message = "Hi, we have received your message. Thank you."; $type = "success"; } } else { $message = "Invalid captcha. Please select the correct image."; $type = "error"; $border = "border-error-color"; } } $result = $contact->getRecord(); $termId = $result[0]['id']; $captchaResult = $contact->getCaptchaIcons($termId); $randomCaptchaResult = $contact->getRandomCaptchaId($termId); $captchaOutput = array_merge($captchaResult, $randomCaptchaResult); ?> Contact Us Form

PHP contact form with captcha images

Name
Email
Subject
Message

Select the