I have a form where the client is able to enter a post/zip code. I would then like this to be matched against a database of stores and to output the nearest 3.
How would I set something like this up? I'm wondering if I could save the store information in an XML file? However the difficult bit is working out the closest matches to the customers post/zip code. Can anyone help point me in the right direction on how to do this?