maccam wrote:
Ok, so what if i am only want to get the DISTINCT suburb from the following query?
(not the CatID)
You just ask for Distinct suburb...
$result = mysql_query("SELECT DISTINCT suburb, CatID FROM '$table' WHERE LEFT(suburb,1) = '$alphabet' ORDER BY suburb",$db);