www.gusucode.com > 枫的记忆个人主页程序源码程序 > downcode.com\fengdejiyizh\gtbook\del.asp

    <!-- #include file="header.asp" -->
<!-- #include file="firewall.asp" -->

<%
		if request("id")<>"" then
			intdel = request("id")
			conn.execute("delete from ebook where id="&intdel&"")
			conn.execute("delete from reply where frepid="&intdel&"")
			conn.close
			set conn = nothing
			response.redirect ("index.asp")
		end if
		if request("delrep") <> "" and request("repid") <> "" then
			conn.execute ("delete from reply where id="&request("repid")&" and frepid=" & request("delrep") & "")
			conn.close
			set conn = nothing
			response.redirect("index.asp")
		end if
	
%>