$question
");
$get_questions = mysql_query("select * from fpoll_options");
while($r=mysql_fetch_array($get_questions)){
extract($r);
if($votes=="0"){
$per = '0';
}else{
$per = $votes * 100 / $totalvotes;
}
$per = floor($per);
echo($field);
?>
echo("$votes"); ?>
}
echo("
Total votes:
$totalvotes ");
echo $footer;
?>