PHP search with radius
This article will show you how to create a php search function with a radius of x miles. We will be using google geocode api for getting the latitude and longitude of a zip/post code and then search… search the database to see if we get any users found within the area.
This is extremely useful if you wanting to have a search page for your users in a database. This way users can search a zip/post code and see how many users are in that area.