// I have updated my code php and improve my question
i have a login form, and when i wrong password i don\'t have this error:
\"your are not regi
isset will return a boolean result and therefor needs to be written more like this if you want that code block to execute:
isset
if (isset($_POST['submit']) && $_POST['submit'] == "Login")