My PHP captcha is working correctly, however, when the code is entered incorrectly, the page shows the error, but not the form after it. I don't think it's a redirect issue because it's still the same form URL. I know this is a simple fix, but my brain is fried. Help, please?
after the else comes the rest of my form code. ideas as to why my html/php form won't display after the error echos in the page?
Thank you in advance!
PHP Code:
if ($_POST["vercode"] != $_SESSION["vercode"] OR $_SESSION["vercode"]=='') {
echo '<strong>Incorrect verification code. Please <a href="">go back</a> and try again.</strong><br>';
}
else {
Thank you in advance!
Comment