提问中问题 - 浏览21次
下一个提问中问题
过客
116.230.83.*
操作符丢失在 在16行
来源:网页搜索
请帮忙看看错在哪里?谢谢,代码如下 <%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <!--#include file="Connections/BBS1.asp" --> <% if(Request("id") <> "") then Command1__MM_id = Request("id") %> <% set Command1 = Server.CreateObject("ADODB.Command") Command1.ActiveConnection = MM_BBS1_STRING Command1.CommandText = "DELETE FROM 论坛 where Id = " + Replace(Command1__MM_id, "'", "''") + " or SubjectId = " + Replace(Command1__MM_id, "'", "''") + " " Command1.CommandType = 1 Command1.CommandTimeout = 0 Command1.Prepared = true Command1.Execute() %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> <meta http-equiv="refresh" content="2;URL=index1.asp"> </head> <body> 已经成功删除帖子,2秒钟后自动返回论坛 </body> </html>










