$passwort = "007"; $eingabe = $_POST['eingabe']; if ($eingabe === $passwort){ //jetzt wird irgendetwas gemacht... }