找位能人帮俺看下

来源:百度知道 编辑:UC知道 时间:2024/06/02 00:11:09
我自己写的,说是不对,谁能帮忙看下,谢谢!
<html>
<head>
<title>无标题文档</title>
</head>

<body>
<%
dim nm
dim pass
nm=request.QueryString("name")
pass=request.QueryString("pwd")
if nm<>"李春天" ro pass<>"195099" then
response.Write"注册错误"
eles
.........
end if
%>
</body>
</html>

if nm<>"李春天" ro pass<>"195099" then --- 错了 Or
response.Write"注册错误"
eles ----错了是 Else
.........
end if

if nm<>"李春天" and pass<>"195099" then 用AND 替换你现在的OR ,在说你的OR 也拼写错了噢.eles 错了是 Else

这句有问题
应该是
if nm<>"李春天" or pass<>"195099" then