当前位置:首页 > ASP教程 > ASP基础

随机增加网站点击的一个不错的方法<fontcolor=red>原创</font>

thenumstr="1,1,6,1,1,9,1,1,3" 
thenumarr=split(thenumstr,",") 
randomize thernd=cint(rnd()*8)+1 
 thenum=thenumarr(thernd) 
 if thenum=null then thenum=1 
 sqladd="update counts set hits=hits+"&thenum&" where title='"&title&"'" 
 msgbox thenum&"==="&sqladd [ctrl+a 全选 注:如需引入外部js需刷新才能执行]

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!