如何获得特定日期的帖子总记录数 [英] How to get total records count of posts for particular date

查看:77
本文介绍了如何获得特定日期的帖子总记录数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想获得特定搜索字词和特定日期的帖子总记录数。

I want to get the total record count of posts for a particular search term, and a particular date.

(我想获取总记录数最后3天,个人每天。)

(I want to get the total record count for the last 3 days, individual for each day.)

例如,搜索字词是史蒂夫·乔布斯,我想得到总记录数(或者我可以

For example, the search term is "Steve Jobs," and I want to get the total record count (or I can get all records in one page) for date November 13, November 14, November 15.

推荐答案

使用 count($ whaturcounting)

这里的文档 http://php.net/manual/en/function.count.php

这篇关于如何获得特定日期的帖子总记录数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆