I have managed to validate the captcha, when empty or wrong characters are entered, the error message is printed:
if(isset($_POST) && isset($_POST[&qu