这是HTML码.
------------------------------------------------------
$user='admin';
$pass='111111';
$userName = $_GET['username'];
$passWord = $_GET['password'];
if($userName == " || $passWord == "){
echo '用户名或密码不能为空';
}
?>
这是PHP. 在HTML页面点击提交 为什么不显示 '用户名或密码不能为空'.
求大神帮忙看下 谢谢.
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
if($userName == " || $passWord == "){ 引号的问题,你这个是双引号,而且只有一半