$queryz = mysql_query("SELECT * FROM poll")or die(mysql_error()); while(@($x = mysql_fetch_array($queryz))) { echo $x["o1"]; }