<% foto = Request.QueryString("foto") identificador= Request.QueryString("identificador") SQL_deldata = "DELETE FROM fotos WHERE identificador = '"& identificador &"' and foto = '"& foto &"'" Set deldata = fp_db.Execute(SQL_deldata) response.redirect "listadefotos.asp" %>