Hello! Welcome to love source demonstration station!
 How to get the number of articles published by zblog in the past 24 hours

How to get the number of articles published by zblog in the past 24 hours

Technical course 302℃ zero
In the zblog forum, you can see that there are users asking how to count zblog The number of 24-hour updates. If there is no misunderstanding, the user should want to get the number of articles published by zblog website within 24 hours. In fact, it can be realized through a few basic SQL queries, but zblog PHP is a monster. The database is queried by linked SQL. I'm not used to it. So I directly change the example of z-wiki to count the 24-hour update quantity of zblog. Note: the following code applies only to zblog PHP version 1.5. X. 1. Add the following code to the theme's include.php file: function boke8_ postNum(){ global $zbp; $nowtim...