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

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

WBOY
WBOYOriginal
2016-06-13 12:36:18922browse

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



如上述代码

主要实现点击量的更新


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


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

Statement:
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