Heyho.. ich habe grade ein sehr merkwürdiges problemchen...
Diese IF Abfrage resultiert immer TRUE... what da..
Eventuell sieht da jemand den Fehler den ich nicht sehe..
PHP: If Abfrage
//POST VAR = $_POST["login_email"] // $_POST["login_password"]
if(isset($_POST["login_email"]) AND isset($_POST["login_password"])) {
echo "SET<br>";
echo "login_email: " .$_POST["login_email"]."<br>";
echo "login_password: " .$_POST["login_password"]."<br>";
} else {
echo "NOT SET";
}
HTML: Formular
<form method="POST">
<div class="form-group">
<label class="text-normal text-dark">Benutzername</label>
<input name="login_email" type="email" class="form-control" placeholder="max.mustermann@DYN_PAGENAME.DYN_PAGETLD">
</div>
<div class="form-group">
<label class="text-normal text-dark">Passwort</label>
<input name="login_password" type="password" class="form-control" placeholder="Passwort">
</div>
<div class="form-group">
<div class="peers ai-c jc-sb fxw-nw">
<div class="peer">
<div class="checkbox checkbox-circle checkbox-info peers ai-c"><input type="checkbox" id="inputCall1" name="inputCheckboxesCall" class="peer"> <label for="inputCall1" class="peers peer-greed js-sb ai-c"><span class="peer peer-greed">Eingeloggt bleiben</span></label></div>
</div>
<div class="peer"><button type="submit" class="btn btn-primary">Login</button></div>
</div>
</div>
</form>
Alles anzeigen
Danke im vorraus.