今日更新文章数量代码如下:<?php $Log_Model = new Log_Model(); $today = strtotime(gmdate('Y-m-d')
今日更新文章数量代码如下:
<?php $Log_Model = new Log_Model(); $today = strtotime(gmdate('Y-m-d')); $today_sql = "and date>{$today}"; $today_num = $Log_Model->getLogNum('n', $today_sql); echo '今日发布了' . $today_num . '篇文章!';
粉丝
0
关注
0
收藏
0