www.gusucode.com > 盐城分类信息网asp源码程序 > admin/com_yz.asp
<!--#include file=conn.asp--> <!--#include file=cookies.asp--> <% dim rs,sql,id,i,str2,yz yz=request("yz") id=trim(request("selectedid")) str2=split(id,",") for i=0 to ubound(str2) set rs=server.createobject("adodb.recordset") sql="select yz from [com] where username='"&trim(str2(i))&"'" rs.open sql,conn,1,3 if yz<>"" then rs("yz")=0 else if rs("yz")=0 then rs("yz")=1 end if end if rs.update next response.write "<script language=JavaScript>" & chr(13) & "alert('商户审核成功!')</script>" response.write "<meta http-equiv=refresh content=""1;URL=comlist.asp"">" %>