ทำได้แล้วครับ ขอบคุณมากครับ
$sql="select count(*) as users, ans from user group by ans";
$result=mysql_db_query($dbname,$sql)or die(mysql_error());
while ( $rsgroup = mysql_fetch_array($result) )
{
echo " <br>$v Poll Answer {$rsgroup['ans']} = {$rsgroup['users']}";
}