1个回答
展开全部
sql语句不对吧?
insert into t_xuqiuzhusi (taskid,beizhu) values ('"&strtaskid&"','"&strbeizhu&"')
insert into t_xuqiuzhusi (taskid,beizhu) values ('"&strtaskid&"','"&strbeizhu&"')
追答
<%
beizhu=replace(trim(request.Form("beizhu")),"'","")
taskid=replace(trim(request.Form("taskid")),"'","")
beizhu=split(beizhu,",")
taskid=split(taskid,",")
for i=0 to ubound(beizhu)
conn.execute("insert into t_xuqiuzhusi (taskid,beizhu) values ('"&trim(beizhu(i))&"','"&trim(taskid(i))&"')")
next
%>
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询