[Solved] Notice: Undifined variable: [value] [duplicate]
You do not check if the following variables are set before you assign them. $_POST[‘naam’] $_POST[‘wacht’] As you did with $_POST[‘login’] you can use isset to check they exist before assignment. if (isset($_POST[‘naam’] && isset($_POST[‘wacht’]) { // Do something… } In addition to this in the query you are using the variables $gebruikersnaam and $wachtwoord … Read more