search

Home  >  Q&A  >  body text

Why the empty statement can only control user

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>";

  }


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

reply all(1)I'll reply

  • 路过

    路过2018-05-24 11:51:22

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

    reply
    0
  • Cancelreply