|
dim conn,order,content,userid,posttime
id=request("id")
posttime=now()
order = Trim(Request("order"))
content = Trim(Request("content"))
userid = Session("user_id")
sql ="INSERT INTO Complain (id,UserId,PostTime,Content,Order) Values("&id&",'"&userid&"',"&posttime&",'"&content&"','"&order&"')"
Conn.Execute(sql)
Response.Write "<h3>留言保存成功</h3>"
为什么一执行就提示,INSERT INTO语法错误 |
|