$result=mysql_query("select province, count(*) from members group by province having count(*) >= all(select count(*) from members group by province)");
$total= mysql_result($result,0);
echo '<div id="tablefriends">';
echo '<table align=center >';
echo '<tr> ';
echo '<td class="head" width="400">มีชาวจังหวัด '.$total.' เยอะที่สุด</td>';
echo '</tr>';
echo '</table>';
echo '</div>';
}