YPdel.asp 451 B

12345678910111213141516
  1. <!--#include file="../bdcommx/connxyz.asp"-->
  2. <%call log_chk()
  3. call passChk()
  4. thex=request("thex")
  5. theid=request("theid")
  6. Set rs=Server.Createobject("Adodb.Recordset")
  7. sql="select * from adyp where yp_id="&thex&""
  8. rs.open sql,conn,1,3
  9. rs.delete
  10. rs.close
  11. set rs=nothing
  12. ''''''''''''''''''''''''''''保留关联空位
  13. response.write"<SCRIPT language=JavaScript>alert('删除成功!');"
  14. response.write"this.location.href='YPmag.asp?thex="&theid&"';</SCRIPT>"
  15. %>