Postcode Latitude Longtitude Ward "; while($row = mysql_fetch_array($result)) { $output2 .= ""; $output2 .= "" . $row['Postcode'] . ""; $output2 .= "" . $row['Latitude'] . ""; $output2 .= "" . $row['Longtitude'] . ""; $output2 .= "" . $row['Ward'] . ""; $output2 .= ""; } $output2 .= ""; mysql_close($con); } ?> Richard Allen API's // Postcode