Why the empty statement can only control user
╰倒轉流年丶祇爲一眼紅顔
╰倒轉流年丶祇爲一眼紅顔 2018-05-23 13:52:36
0
1
1072

if ($user==""||$pwd==""||$pwd_confirm==""){

echo "<script>alert('Please confirm the integrity of the information ');history.go(-1);</script>";

}

elseif ($code!=$_SESSION["ver_code"] ){

     

                                    echo "<script>alert('Verification code is incorrect');history.go(-1);</script>";

  }


╰倒轉流年丶祇爲一眼紅顔
╰倒轉流年丶祇爲一眼紅顔

reply all(1)
路过

Please check the instructions for using the logical operation "||"

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!