12-03-2007, 05:23 AM
|
#8 (permalink)
|
|
The Wanderer
Join Date: Nov 2007
Posts: 13
Thanks: 0
|
Ok, the one thing I see is this line:
PHP Code:
'.$o['choice']. ' - ' .$v['total'].' - ' . round(100 * $v['total'] / 3, 2) .'
I may not be following your logic right, but it looks like you are dividing the number of votes for a particular option ($v['total']) by 3. I think what you want to do is divide the number of people who voted for a particular option by the total number of votes in that poll.
|
|
|
|