?? hyzx_edit_ok.asp
字號(hào):
<!--#include file="dbconn.asp"-->
<%
title=trim(request("title"))
fl=trim(request("fl"))
wherefrom=trim(request("wherefrom"))
texts=trim(request("texts"))
texts=replace(texts,vbcrlf,"<br>")
addtime=FormatDateTime((now()), 2)
if title="" then
response.write "<script language=JavaScript>" & "alert('請(qǐng)重新輸入資訊標(biāo)題!');" & "history.back()" & "</script>"
response.end
end if
if texts="" then
response.write "<script language=JavaScript>" & "alert('請(qǐng)重新輸入資訊內(nèi)容!');" & "history.back()" & "</script>"
response.end
end if
if wherefrom="" then
response.write "<script language=JavaScript>" & "alert('請(qǐng)重新輸入信息來源!');" & "history.back()" & "</script>"
response.end
end if
conn.execute("update hyzx set title='"&title&"',fl='"&fl&"',wherefrom='"&wherefrom&"',texts='"&texts&"', addtime='"&addtime&"' where id="&request("id"))
conn.close
response.Redirect("hyzxdel.asp")
response.End
%>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -