Home > Backend Development > PHP Tutorial > 怎么用php+mysql统计每周的访问总数

怎么用php+mysql统计每周的访问总数

WBOY
Release: 2016-06-13 13:24:16
Original
916 people have browsed it

如何用php+mysql统计每周的访问总数
如何用php+mysql统计每周的访问总数????

------解决方案--------------------
用date("W")可得到当前的周数,
在表中加以字段week,



------解决方案--------------------
恩...再底层一点可以用Apache,好像有这个功能
------解决方案--------------------
php的计数器,流量插件 源码多的是,搜一下吧

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template