How do I check if an article is popular this week?
Short answer: You can’t from that code Longer answer: So the code above will simply increment a counter based on the last value the counter was on. There’s no way to tell when that page-view or count starts from it’s simply a number. You have no data on when that page view was counted or … Read more