?? addnews.asp
字號:
<!--#include virtual="/_inc/GeneralADO.asp"-->
<%
dim strTopic,strContent,page
page=request.querystring("page")
strTopic=request.form("topic")
strTopic=Replace(strTopic,"'","''")
strTopic=Replace(strTopic,"<","〈")
strTopic=Replace(strTopic,">","〉")
strContent=request.form("content")
strContent=Replace(strContent,"<","〈")
strContent=Replace(strContent,">","〉")
'strContent=Replace(strContent,Chr(13)+Chr(10),"<br>")
strContent=Replace(strContent,"'","''")
oCon.execute"insert into IC_NEWS (TOPIC,CONTENT,TIME) values('"&strTopic&"','"&strContent&"','"&date&"')"
oCon.close
set oCon=nothing
response.redirect "news.asp?page="&page
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -