为什么他抱 INSERT INTO 语句语法错误?
<!--#includefile="conn.asp"--><%userid=trim(request.form("userid"))pwd=trim(request.f...
<!--#include file="conn.asp"-->
<%
userid=trim(request.form("userid"))
pwd=trim(request.form("pwd"))
%>
<%
dim rs,sql
set rs=server.CreateObject("adodb.recordset")
sql=" insert into admin(username,password) values ('"&userid&"','"&pws&"')"
rs.open sql,conn,3,3
response.Redirect(glck.asp)
%> 展开
<%
userid=trim(request.form("userid"))
pwd=trim(request.form("pwd"))
%>
<%
dim rs,sql
set rs=server.CreateObject("adodb.recordset")
sql=" insert into admin(username,password) values ('"&userid&"','"&pws&"')"
rs.open sql,conn,3,3
response.Redirect(glck.asp)
%> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询