![]() |
Counting number of posts daily
I am trying to use this in a plugin but it keeps displaying Resource id #107 or some number instead of the actual post count.
Code:
$start = TIMENOW - 3600 * 24; |
Quote:
To get the result from your query change the query as follows: Code:
$start = TIMENOW - 3600 * 24; |
I tried this but now it doesn't even display anything.
|
You have to use query_first if you want it to fetch the first row.
Code:
$start = TIMENOW - 3600 * 24; |
Thanks. It worked perfectly.
|
Sorry I thought I made that change that was my mistake. I've edited the post now to be correct.
|
All times are GMT. The time now is 06:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|