นายโจม

Mon 31 Mar 2008 15:38:11
Mon 31 Mar 2008 15:38:11
การแบ่งสถิติจำนวนคนเข้าชมเว็บตามช่วงเวลา
<?
$sql="select substr(stime,0,14) as years,count(stime) as stat from counter where substr(stime,0,11)='$years' group by substr(stime,0,14) order by substr(stime,0,14) asc;";
?>
webmaster

Mon 31 Mar 2008 19:11:26
Mon 31 Mar 2008 19:11:26
เป็นการเรียกดูข้อมูล โดยให้นับจำนวนจับกลุ่มที่ต้องการครับ

















