Looking more for advice than a script here folks. Trying to calculate distances between two post codes. Got that bit sorted. However, I want to calculate the distance from an origin to each result of a query. Can make the thing work for the first row, but the query then lists that figure for each subsequent row. Can’t find any good tutorials for calculated fields in MySQL/php. It’s those tutorials I’m looking for please. Any pointers?