Microsoft JET Database Engine (0x80040E14) INSERT INTO 语句的语法错误。
<!--#include file="conn.asp"--><%
dim sql,yzm,username,password,passt,passd,qq,email,url,face
yzm = trim(request.form("yzm"))
username = trim(request.form("username"))
password = trim(request.form("password"))
passt = trim(request.form("passt"))
passd = trim(request.form("passd"))
email = trim(request.form("email"))
url = trim(request.form("url"))
qq = trim(request.form("qq"))
face = trim(request.form("face"))
sql = "insert into y_user (username,password,passt,passd,face,qq,email,url,date) values ('"&username&"','"&password&"','"&passt&"','"&passd&"','"&face&"','"&qq&"','"&email&"','"&url&"',now())"
conn.execute(sql) '执行SQL新增
'新增成功后,执行跳转
'在script有一个跳转是:location.href='index.asp'
response.write "<script>alert('恭喜你,会员注册成功!');location.href='index.asp'</script>"
%>
错误类型:
Microsoft JET Database Engine (0x80040E14)
INSERT INTO 语句的语法错误。
/reg_do.asp, 第 14 行
POST Data:
username=sdfsd&password=aaaaaaa¬password=aaaaaaa&email=sdfsdf@