The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with PHP code please
I have set up a routine for one of my pages that looks like
$countviews=$DB_site->query_first('SELECT SUM(views) AS totalviews FROM table'); $totalviews=number_format($countviews[totalviews]); $monthviews = ? echo "<p>"; echo "Total Number of Views - $totalviews"; echo "Views over last 30 days per day - $monthviews"; table in the above is the name of the table. What I need to know is what to put in monthviews line so that I get a total number of daily views over the past 30 days. Thanks, Parker |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|