Hi, here s my problem
im editing a code of a downloaded script
cuz im a newbie, i dont know whats wrong, but the thingy gives an error of: unexpected '{' in the 1 line...
PHP Code:
if ($totalanswers == 0) {$percentperanswer=0}
else
{
for($i=0;$i<count($answerscountarray);$i++);
$percentperanswer[$i]=round((($answerscountarray[$i]*100)/$totalanswers),1)."%";
}