这个出错怎么解决
<%set rs=server.Createobject("adodb.recordset")
sql="select * from user where username="&username&""
rs.Open sql,conn,3,3
if not rs.eof then
if trim("password")=trim(rs("password")) then
response.write"<br><br><br><center>欢迎你 <font color=blue> "&username&" </font>,你的密码是<font
color=red> "&password&" </font> ,你已经成功登录系统,可以正常使用"
else
Response.write"<script>alert('请检查你选择的用户名和输入的密码是否正确!
',history.back())</script>"
end if
end if
%>
不管怎么样都能登陆,
sql="select * from user where username="&username&""
rs.Open sql,conn,3,3
if not rs.eof then
if trim("password")=trim(rs("password")) then
response.write"<br><br><br><center>欢迎你 <font color=blue> "&username&" </font>,你的密码是<font
color=red> "&password&" </font> ,你已经成功登录系统,可以正常使用"
else
Response.write"<script>alert('请检查你选择的用户名和输入的密码是否正确!
',history.back())</script>"
end if
end if
%>
不管怎么样都能登陆,
...全文
相关推荐
叠加计算出错的解决方法
叠加计算出错的解决方法
游戏运行出错原因游戏运行出错原因及解决方案.txt
游戏运行出错原因及解决方案游戏运行出错原因及解决方案.游戏运行出错原因及解决方案.
office2021安装出错解决方法.docx
office2021安装出错解决方法.docx
Windows Installer出错的解决方案
Windows Installer出错的解决方案 Windows Installer出错的解决方案 Windows Installer出错的解决方案 Windows Installer出错的解决方案
markdown发生HTML渲染组件出错的解决方案
markdown发生HTML渲染组件出错的解决方案



