Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Displaying Total number of views and Discussions
Sampath_Amitash
New
In my vanilla forum installation, I would like to show the grand total of all the discussions and views. How can I do that?
Tagged:
0
Answers
$TotalCount = Gdn::SQL()->Select('SUM(CountViews) As Total')->From('Discussion')->Value('Total');
Then you have to decide where you are going to want to put it.
grep is your friend.
grep is your friend.
would the above example be < php echo xxxxxx ? > or just that line?
whats denormalised?