?? editbbsok.jsp
字號(hào):
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="../conn/conn.jsp"%>
<%@ include file="../conn/time.jsp"%>
<%@ include file="checksession.jsp"%>
<%
String id=request.getParameter("id");
String title=request.getParameter("title");
String content=request.getParameter("content")+"<br><br><div align=right><font color=cccccc>此內(nèi)容被作者于"+time+"編輯過(guò)</font></div>";
String sql="update bbs set title='"+title+"',content='"+content+"' where id='"+id+"'";
stmt.executeUpdate(sql);
%>
<script language=JavaScript>{window.alert('修改成功!');window.location.href='mybbs.jsp?space=6.2'}</script>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -