Forum Moderators: coopster
I am trying to use php to retrieve and display a list of all the countries that my clients exist in. Which I can do:
--------
$sql = "SELECT * from Sheet1" ;
$qry=mysql_query($sql);
while ($result= mysql_fetch_array($qry))
{
echo "".$result[11]."<br>";
}
--------
However you can see the problem is this returns EVERY clients country so I end up with a list of duplicate countries.
I would like to display the list of countries but not repeat any countries in the list.
I am a newbie, so please be easy on me :)
B