I have a postcode search on my website already: [login to view URL]
But I am changing it and I need someone to build a new postcode search results page.
In my database, I have latitude and longitude of all of my locations and the customer's lat and long is in the URL (can be seen in link above).
I need someone to calculate the distance between the customer and the locations and show them the closest 5 locations.
If the customer doesn't have any locations near them within 30Kms, it just shows the customer the bottom module which says "We don't have any camps near you (yet!). It doesn't show this module if there are camps nearby.
I have already created a HTML template page which is easy to use, you just need to convert that to PHP.
You should use the CSS included in the [login to view URL]
I need done today.
Here is a good example of how you can measure the distance: https://stackoverflow.com/questions/10053358/measuring-the-distance-between-two-coordinates-in-php
15 freelancers are bidding on average $177 for this job
Let me do this job for you now just to prove my expertise in this field. Hope I could awake you interest in me. I am always online, work hard and very sensitive to details. Thanks for your attention.