录入文章时出现的问题
我编了一段录入文章的代码
但是在录入的文章内容比较多时就出现错误
技术信息(用于支持人员)
错误类型:
Microsoft JET Database Engine (0x80040E14)
语法错误 (操作符丢失) 在查询表达式 ''a series of 一系列,一连串 above all 首先,尤其是 after all 毕竟,究竟 ahead of 在...之前 ahead of time 提前 all at once 突然,同时 all but 几乎;除了...都 all of a sudden 突然 all over 遍及 all over again 再一次,重新 all the time 一直,始终 all the same 仍然,照样的 as regards 关于,至于 anything ' 中。
/addd.asp, 第 18 行
代码如下
<!-- #Include File=Conn.asp -->
<%if session("adpass")<>"passed" then
response.redirect "loginadmin.asp"
end if
title = Request("title")
kind = Request("kind")
content = Request("content")
If kind = "" or title="" Then
response.write "<script language=JavaScript>" & "alert('题目和内容不能为空!');" & "history.back()" & "</script>"
response.end
end if
sql="insert into data (title,content,kind) values ('"&title&"','"&content&"','"&kind&"')"
set rs=conn.execute (sql)《------------------------------------------18行
conn.Close
Set conn=Nothing
Response.Write "<html><body><center>文章添加成功,请确认后返回!<p>"
Response.Write "<a href='artmanage.asp'>返回查看</a>"
Response.Write "</center></body></html>"
%>
请哥哥姐姐们帮忙看看
谢谢啊