%
set Rs=server.createobject("adodb.recordset")
set Rs2=server.createobject("adodb.recordset")
set Rs9=server.createobject("adodb.recordset")
S_ID = 1
sql="select Statistic_count from Statistic where Statistic_ID="&S_ID
rs.open sql,conncc,1,1
if not rs.eof then
Statistic_count = trim(rs("Statistic_count"))
Statistic_count_s = Statistic_count
Statistic_count = Statistic_count + 1
end if
rs.close()
sql = "update Statistic set Statistic_count = '"&Statistic_count&"' where Statistic_ID="&S_ID
conncc.Execute(sql)
%>