Home > Backend Development > PHP Tutorial > 实现点击量的更新遇到的有关问题

实现点击量的更新遇到的有关问题

WBOY
Release: 2016-06-13 12:36:18
Original
965 people have browsed it

实现点击量的更新遇到的问题



如上述代码

主要实现点击量的更新


但是在用echo $hits;测试时,结果一直为1,并且数据库中hits值为0;


应该是最终没有存取到数据库中,应该怎么修改

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