create table stream ( ip text, sTime int, visits int, info text); <? if($day<0)$day=0; $mlink=mysql_connect('localhost','ajax','xxxxxxx'); //统计至今首页被浏览的总次数 $query="select SUM(visits) as tvisits from stream"; $result=mysql_db_query('ajax',$query,$mlink); echo '<span class="st1"浏览首页总累积次数:'; if($row=mysql_fetch_object($res...
[ 查看全文 ]