I have no idea what is wrong with this line of my code, I keep getting the message
"Parse error: syntax error, unexpected '{' in C:\xampp\htdocs\form.php on line 27"
when loading the page in live preview on brackets. Can you help me please?
 if ($_POST['email'] && filter_var($_POST["email"],
        FILTER_VALIDATE_EMAIL) === false) { 
          $error.= "The email address is invalid.<br />";
 }
 
     
    