开发者

How do I calculate number of times a data is accessed?

I want to track number of times a data is acce开发者_如何学编程ssed from a table. How can I do this with PHP and MySQL?


Add an extra number column to the table, starting at 0, then remember to add one to the column every time you access a row. For example: UPDATE Tbl1 SET counter = counter + 1 WHERE name ='joe_bloggs'

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜