product_del.asp

来自「这是一个物流网站的源代码」· ASP 代码 · 共 36 行

ASP
36
字号
<%
Dim delid
delid=Request("delid")
if delid="" then 
	response.Redirect(request.servervariables("HTTP_REFERER"))
	response.End
end if
%>
<!--#include file="../inc/conn.asp"-->
<!--#include file="../inc/config.asp"-->
<%
dim errorstr
errorstr="    已经成功删除您所选!"
ids=split(delid,",")
'for i=0 to ubound(ids)
'sql="update hto set ht_flag=0 where f_id=(select h_to from houyun where h_id="&ids(i)&")"
'conn.execute(sql)
'next 
sql="DELETE from houyun where h_id in (" & delid & ")"
conn.execute(sql)
check_alert errorstr,"Product_admin.asp"
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="css_admin.css" rel="stylesheet" type="text/css">
</head>

<body>
<%	response.write  %>
</body>
</html>


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?