<% Response.Buffer = True ID = Request("id") tableName = Request("table") Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "fivesongs","","" SQL = "Delete * From " & tableName & " WHERE ID = " & ID Set rs = conn.Execute(SQL) If tableName = "tblComments" then Response.Clear Response.Redirect "comment_board.asp" End If %>