is_valid) { // What happens when the CAPTCHA was entered incorrectly // showTop(); showForm(); // die ("The reCAPTCHA wasn't entered correctly. Go back and try it again. (reCAPTCHA said: " . $resp->error . ")"); echo "
The reCAPTCHA wasn't entered correctly. Please re-enter your information.
\n"; } else { // echo "

IT WORKED?!?!?!?!

\n"; // Your code here to handle a successful verification sendmail(); echo <<

Thank you for your submission to our Email List.

EOT; } } echo << EOT; printPageEnd(); ?>