我得到了意想不到的 T_ELSES。请帮忙
<?php
$password = $_POST['password'];
$submit = $_POST['submit'];
if ($password == "lol") {
if ($password) {
if ($submit) {
echo "Logged in";
}
} else {
echo "Wrong Pass";
}
} else {
echo "Please fill in all fields.";
}
} else {
echo "Please click submit";
}
?>
要么只是说请点击提交,要么它给我意外的错误,或者它没有检测到请填写所有字段。请帮助我并修复我的代码谢谢
问:有什么问题