q1 + $row->q2 + $row->q3); if ( $total == 0 ) { $q1percent = 0; $q2percent = 0; $q3percent = 0; } else { $q1percent = round(100 * ($row->q1 / $total)); $q2percent = round(100 * ($row->q2 / $total)); $q3percent = round(100 * ($row->q3 / $total)); } ?>
Thank you for voting.

Results:

Do you believe that a free and fair vote was held?

<? echo $q1percent ?> percent <? echo $q2percent ?> percent <? echo $q3percent ?> percent
Yes:
%
No:
%
Don't know:
%
Total votes:
 Take the survey