www.gusucode.com > 盐城分类信息网asp源码程序 > hfyzql.asp

    <!--#include file=inc/conn.asp-->
<!--#include file="usercookies.asp"-->
<%
dim rs,sql,id,i,str2
id=trim(request("selectedid"))
str2=split(id,",")
for i=0 to ubound(str2)
set rs=server.createobject("adodb.recordset")
sql="select * from [hf] where id="&trim(str2(i))
rs.open sql,conn,1,3
rs("hfyz")=rs("hfyz")+5
rs.update
next
response.write "<script language=JavaScript>" & chr(13) & "alert('记录验证操作成功!');" & "history.back()" & "</script>"
%>