Answer the question
In order to leave comments, you need to log in
How to calculate the sum of all social button votes?
Recently ran through the article - I can not find it.
The bottom line: the article has several buttons "I like", "+1", etc.
It is necessary to display the sum of all votes from all installed buttons in a separate block.
The article had a ready-made example
Answer the question
In order to leave comments, you need to log in
Something like that:
SELECT SUM(Golos) AS Total FROM Golosa WHERE TopicID=***
where instead of *** the desired article ID.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question