(02.04.2015, 12:57)Zion schrieb:PHP-Code:
if($ZE_ACC->activated != '1') {
if($ZE_ACC->activated == '0') {
header("Location: ./index.php?inc=login&loginevent=7 ");
die();
}
if($ZE_ACC->activated == '2') {
header("Location: ./index.php?inc=login&loginevent=21 ");
die();
}
}
irgendwas übersehen wir für mich sieht beides richtig aus und trotzdem zeigt er mir nur case7 an hab es so auch versucht
PHP-Code:
if($ZE_ACC->activated != '1') {
if($ZE_ACC->activated <= '1') {
header("Location: ./index.php?inc=login&loginevent=7 ");
die();
}
if($ZE_ACC->activated >= '1') {
header("Location: ./index.php?inc=login&loginevent=21 ");
die();
}
}
kann es sein das die Abfrage irgendwo anders noch steht ? da wenn ich sie ganz raus lösche kommt auch case 7 ^^