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'
精彩评论