I have:

$qry="SELECT DISTINCT(city) FROM table WHERE country='$country'";

If there are no rows with a 'city' where country=$country, it still gives 1 row result of NULL!
Why does it return a blank row rather than no rows?