Forum Moderators: coopster
$result = mysql_query("SELECT * FROM postcode_names JOIN postcode_data ON postcode_names.postcode=postcode_data.postcode WHERE town = '$town'") or die(mysql_error());
while($row = mysql_fetch_array( $result )) {
$county =$row['county'];
$latitude = $row['lat'];
$longitude = $row['long'];
But seriously, are those options something you have considered? Maybe you could display the data in a different fashion with an image map and rollover points? Or have you already considered alternatives such as this and decided that you really need to trim down the result set being returned?