delete.asp的內容
sql="delete from comment where id = " & Request.QueryString("id")
Conn.Execute(sql)
%>
If Request.QueryString("del") = "yes"
End If
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from comment where id"" order by id desc"
rs.open sql,conn,1,1
if rs.bof then
Response.end
end if
delete.asp的內容
sql="delete from comment where id = " & Request.QueryString("id")
Conn.Execute(sql)
%>
If Request.QueryString("del") = "yes"
sql="delete from comment where id = " & Request.QueryString("id")
Conn.Execute(sql)
End If
Set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from comment where id"" order by id desc"
rs.open sql,conn,1,1
if rs.bof then
Response.end
end if
%>