[原创]用户主册系统
大家好./..我在做一个户注册系统,,,,填写完注册内容后提交到以下代码,,,,下面代码看起来没什么问题一样,,,,,可提交过去就是不行,,,,也没报什么差误,,是什么原因呢,,,
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("date.mdb")
username=request.infoform("username")
password=request.infoform("password")
password2=request.infoform("password2")
username1=request.infoform("username1")
lxrEmail=request.infoform("lxrEmail")
home=request.infoform("home")
add=request.infoform("add")
tel=request.infoform("tel")
qq=request.infoform("qq")
exec="insert into guesbook(username,password,password2,username1,lxremail,home,add,tel,qq)values('"+username+"','"+password+"','"+password2+"','"+username1+"','"+lxremail+"','"+home+"','"+add+"','"+tel+"','"+qq+"')"
conn.execute exec
conn.close
set conn=nothing
response.write "记录添加成功!"
%>
大家好./..我在做一个户注册系统,,,,填写完注册内容后提交到以下代码,,,,下面代码看起来没什么问题一样,,,,,可提交过去就是不行,,,,也没报什么差误,,是什么原因呢,,,
<%
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("date.mdb")
username=request.infoform("username")
password=request.infoform("password")
password2=request.infoform("password2")
username1=request.infoform("username1")
lxrEmail=request.infoform("lxrEmail")
home=request.infoform("home")
add=request.infoform("add")
tel=request.infoform("tel")
qq=request.infoform("qq")
exec="insert into guesbook(username,password,password2,username1,lxremail,home,add,tel,qq)values('"+username+"','"+password+"','"+password2+"','"+username1+"','"+lxremail+"','"+home+"','"+add+"','"+tel+"','"+qq+"')"
conn.execute exec
conn.close
set conn=nothing
response.write "记录添加成功!"
%>