<% if request("num")<>"" then num=trim(request("num")) if not isnumeric(num) then response.end set conn=server.createobject("adodb.connection") conn.open connstr if conn.execute("select * from wz where num="&num&" ").eof then response.end conn.execute("update wz set count=count+1 where num="&num&"") conn.close end if %>