大家进来帮帮我
大家进来帮帮忙
我写了这段代码.
<% set conn=server.createobject("adodb.connection") conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("shop.mdb") set rs=server.createobject("adodb.recordset") rs.open "E_user",conn,1,1
condition="UID='"& request("UID")& "'" rs.find=condition '查找用户名是否已经被注册
if rs.eof then '如果没有被注册,检查2次的密码是否相同 if request("PWD")=request("PWD2") then '相同则可以讲数据添加到数据库 exec="insert into E_user(UID,PWD,Email,Company,Person,Phone) values ('"&request("UID") &"','"& request("PWD")&"','"& request("Email") &"','"&request("Company") &"','"& request("Person") &"','"& request("Phone") &"')" conn.execute exec response.write "恭喜你!注册成功<br>" response.write "<hr>" response.write "你注册的用户名是:"& request("UID") &"<br>" response.write "你注册的密码是:"& request("PWD") &"<br>" response.write "你注册的邮箱是:"& request("Email") & "<br>" response.Write "你注册的公司名是:"& request("Company") &"<br>" response.write "你注册的联系人是:"& request ("Person") &"<br>" response.write "你注册的电话是:"& request ("Phone") &"<br>" response.write "<a href="http://leon/blue/elogon.asp" target="_self">请点击这里进去登录页面!</a>" else response.Write "2次输入的密码不同!请返回上页重新输入!" end if else response.Write "这个用户名已经被人注册了!请换一个用户名!" end if
rs.close set rs=nothing conn.close set conn=nothing %>
IE提示语句未结束
/blue/ewrite.asp,行31
response.write "<a href="http://leon/blue/elogon.asp" target="_self">请点击这里进去登录页面!</a>"问题出在哪里?