因此,我想要做的是,当用户拿着我的手稿时,应当检查第2版的ur,并向他们贴出的用户展示。 如果1个字口或用户名错,3个字眼不正确。 它吸引了正确的数字,但只显示1个信号。 我不知道什么错误:
<?php
$err = $_GET[ err ];
echo $err;//Proof the code is getting number
if ($err = "1") {
echo <center><span class="error-box"> ; echo "Whoops! Wrong Username or Password. Please try again.</span></center>";
}
elseif ($err = 2 ) {
echo <center><span class="info-box"> ; echo "You Have Been Succesfully Logged Out.</span></center>";
}
else {
echo <center><span class="info-box"> ; echo "Whoops! Somthing funny happened and were not quite sure what your trying to do. Please try again.</span></center>";
}
?>