hansman Posted July 16, 2008 Share Posted July 16, 2008 Hello all, Im trying to make a site where a visitor can type in their zip code and certain results will come up depending what zip code they enter. Also the admin will be able to edit results per each zip code What is the easiest way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/115018-zip-codes/ Share on other sites More sharing options...
MadTechie Posted July 16, 2008 Share Posted July 16, 2008 Using HTML, PHP & MySQL whats the actual php problem ? Quote Link to comment https://forums.phpfreaks.com/topic/115018-zip-codes/#findComment-591496 Share on other sites More sharing options...
tommyboy123x Posted July 16, 2008 Share Posted July 16, 2008 I think hes just looking for an easy way to add a few thousand zip codes to a database I would just make a table with all the places / locations / cities in it you want, then assign zip codes. From there you can have a search that would look like SELECT * FROM zipcodes WHERE zip='$zipcode' ORDER BY location ASC good luck! Quote Link to comment https://forums.phpfreaks.com/topic/115018-zip-codes/#findComment-591498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.