I have some php code that I would like to style and ideally stay on the same page and not go to another page. But I know nothing about php, it is for a captcha. I would like the code for a div and some way of naming the div so that I can style it, I want the div to remain on the same page when I tried to give the div an id, I developed an php error. Which frightened me, so I removed it.
PHP Code:if (!$resp->is_valid) {
// What happens when CAPTCHA entered incorrectly ...$redirect = "../thanks.html";
// What happens when CAPTCHA entered incorrectly ...
die ("<h3>Error</h3>The reCAPTCHA wasn't entered correctly. Go back and try it again." .
"(reCAPTCHA said: " . $resp->error . ")");
} else {
// Successful captcha, so continue on with the email ...
}
