grahamgr3 Posted March 31, 2015 Share Posted March 31, 2015 I am creating a forum for my site from the example in this book. I want to include a feature to my new forum where people can see the number of views a thread has had. Does anyone have any ideas on how I could code that. Link to comment Share on other sites More sharing options...
Jonathon Posted March 31, 2015 Share Posted March 31, 2015 When you load the page, put in a DB Call to increment the DB by one. Assuming you have a DB that stores every page you want to monitor. You can use MYSQL's ON DUPLICATE KEY to achieve this. Link to comment Share on other sites More sharing options...
Recommended Posts