diff --git a/anmelden.php b/anmelden.php index b0fdafd..9ebe645 100644 --- a/anmelden.php +++ b/anmelden.php @@ -52,7 +52,7 @@
-
+ Karten-ID 0){ + + $_SESSION['eingeloggt'] = 1; + header("Location: reservierung.php"); + }else if($zeile['COUNT(*)'] > 0){ + header("Location: passwort_stimmt_nicht.php"); + }else{ + header("Location: benutzer_existiert_nicht.php"); + } + +}else{ + header("Location: 404.html"); +} + +?> \ No newline at end of file