$title = "StudioClassroom.com > Advanced > Poll Results"; ?> include("feela.php"); ?> $SQL_Question = "Select * from pollquestion where qid = '$_GET[qid]';"; $SQL_Answer = "Select pollanswers.answer,count(polluser.awid) from pollanswers left join polluser on pollanswers.awid = polluser.awid where pollanswers.qid = '$_GET[qid]' group by pollanswers.answer order by pollanswers.location;"; $SQL_Total = "select count(awid) from polluser where qid = '$_GET[qid]';"; $total = mysql_fetch_array(mysql_query($SQL_Total)); ?> $row = mysql_fetch_array(mysql_query($SQL_Question)); ?>