There are other snippets around for PHPFanbase that show things like total members, last update day, pending members, last three added members, etc, but I thought there should be one that told how many countries are listed on the members list. So I figured this out. It only works if you use PHPFanbase for your members list.
<? include(“config.php”);
$query=”SELECT DISTINCT country FROM $table WHERE apr=’y'”;
$result=mysql_query($query);
$num=mysql_numrows($result);
?>Countries: <b><?=$num?></b>
Page Views: 10 views



















