My question is rather simple. I am currently researching and learning how to use PHP and MySQL along with Google API to allow users on my site to search specific cities, and then also get nearby results included. I will continue to learn this on my own, but I would like to future-proof my database so that it can be implemented later on.
So if I have users submit their zip code when registering, I know that I can use the API or a function to get the latitude and longitude, and then I can store that info in its own column, such as 'lat_lng' (also zip code will have its own column).
BIG QUESTION: How can I format the lat/long column so that later on I can implement the proximity searching ability. Example: One user's lat_lng column may read as "41.854301,-71.193893" with just a comma separating the latitude and longitude. Other users will have different numbers, but is this enough for me to setup the proximity searching at a later date?