Jump to content

Search w/Zip Range


geauxtigers14

Recommended Posts

I'm still somewhat new to PHP but have become not too bad. My first post on here so I hope I can get some help. I have a website I am building that I need to have search capabilities with the ability to narrow the search to only results within a certain zip's range. I already have search capabilities, a database of U.S. zips, and functions to select only the zips within a certain range. What I need help with is tying the two actions together. I'm using two different databases for the one query. The only real idea I have come up with is possibly searching through the resulting array of the initial query to narrow it down to all the results that match within a certain range. I need any suggestions on how this is commonly done and would be the most efficient. Thanks for the help!

Link to comment
https://forums.phpfreaks.com/topic/92976-search-wzip-range/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.