Jump to content

Zip Codes


hansman

Recommended Posts

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?

 

Link to comment
Share on other sites

I think hes just looking for an easy way to add a few thousand zip codes to a database :D

 

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!

Link to comment
Share on other sites

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.