www.gusucode.com > 盐城分类信息网asp源码程序 > admin/gonggao_save.asp
<!--#include file=conn.asp--> <!--#include file=cookies.asp--> <% content=trim(request("content")) if content="" then response.write("<p align='center'><font size=10>错误信息</font><br>公告内容不能为空,没有操作被执行,请<a href='javascript:history.back();'>返回</a></p>") else set rs=server.createobject("adodb.recordset") sql="select * from tbl_gonggao" rs.open sql,conn,1,3 rs("g_content")=content rs.update rs.close set rs=nothing conn.close set conn=nothing response.redirect("gonggao_add.asp") end if %>