Jump to content

Recommended Posts

I was wondering if there are any databases prebuilt that you can buy or download that have every state with city and zip code in them already. I want to add a search function to my website that allows a user to search by either state and city, Zip code, or surrounding areas. Maybe there is an easy way to do this that i am not thinking of. Any help is greatly appreciated

Link to comment
https://forums.phpfreaks.com/topic/94064-city-state-zip-database/
Share on other sites

I want everyones professional opinion on this subject. I want to create a search function for a website I am designing the user would select a category (I.E-"Computer Stores") The user would then be brought to a page to search by City, State, Zip code. I already have a database that has all the U.S States, City's, and Zip codes. What I want to know is how would I setup my database/PHP page to be able to search for a precise/category of a company in a Zip code, State, or City. There will be hundreds of company's in various Zip codes. I guess my question is how would i pinpoint hundreds of records to a single zip code then organize them by category for a desired result. I hope I have been clear enough to generate some detailed and helpful responses.  ;D

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.