Yamaha32088 Posted March 2, 2008 Share Posted March 2, 2008 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 More sharing options...
AndyB Posted March 2, 2008 Share Posted March 2, 2008 http://zips.sourceforge.net/ Link to comment https://forums.phpfreaks.com/topic/94064-city-state-zip-database/#findComment-481892 Share on other sites More sharing options...
Yamaha32088 Posted March 2, 2008 Author Share Posted March 2, 2008 THANKS ALOT ANDYB EXACTLY WHAT I NEEDED!!!!!!! Link to comment https://forums.phpfreaks.com/topic/94064-city-state-zip-database/#findComment-481917 Share on other sites More sharing options...
Yamaha32088 Posted March 4, 2008 Author Share Posted March 4, 2008 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. Link to comment https://forums.phpfreaks.com/topic/94064-city-state-zip-database/#findComment-482492 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.