For the poll I'm running, I get a full vote count in the block (where it says total votes). The function that calls that uses the $voters variable.
However, I $sum always equals 0 in the the results page. I get the number of votes for each, but since it believes the total is zero, the percentages won't calculate (so they default to the zero) and the vote count on this page displays as 0.
I've tried a couple different ideas for this, but nothing seems to be working.
Log in to post a comment.