as it says i have a list of companies on my data base which include post codes of the uk. what im trying to do is let people put in their postcode and it displays all other companies arounfd them by say 50 miles.. thanks
Yes but do you have a list of postcodes vs their lat / longings? You need it. If you do then use trigonometry to calculate distance. sqr(A) = sqr(B) + sqr(C) This link will help you with the math