English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I want my web site visitors to enter their Zip Code and then based on the zip code entered, the website will auto-direct to a page designed specifically for that zip. How do I accomplish this? Mysql? PHP? or is there another way?

Hope somebody can help!

2006-08-09 12:25:32 · 6 answers · asked by platinummix 1 in Computers & Internet Programming & Design

6 answers

there are a lot of ways to do that... but the easiest probably is by using javascript... redirection is quite simple in javascript:

Ex.:


It would be very handy to create a dropdown list instead of letting your visitors type-in their zip codes because this would prevent them from entering invalid zip codes.



Then add this on the head of your HTML:

2006-08-09 12:49:25 · answer #1 · answered by muoreh 2 · 0 0

Many ways to do this, but your server needs to capture the zip code submission and decide what to do. You can use Perl, Ruby, PHP, whatever your little heart desires, so long as it's supported on your web server. Search the internet for the "input" tag.

2006-08-09 12:33:27 · answer #2 · answered by Anonymous · 0 0

application Developer are those men who develops application classes..(application people who you utilize on your gadget like Calculator, media participant and so on ) information superhighway Developer are those men who develops web content and information superhighway applications...(those which u use by using information superhighway)... in case you go with to go with between those 2 fields then easily you need to choose for information superhighway progression field bcoz contemporary vogue is greater focusing on the form of information superhighway applications

2016-12-11 05:58:28 · answer #3 · answered by Anonymous · 0 0

the javascript is by far gonna be your best bet! I vote his answer the best due to it's simplicity (especially if u dont know PHP)

2006-08-09 13:48:50 · answer #4 · answered by cp 2 · 0 0

u can use mysql as your database... and also php... its in you on how you could design the codes in your page... try reading o'reilly LAMP...

2006-08-09 12:43:51 · answer #5 · answered by tep 2 · 0 0

If you don't already know the answer to this you'll spend forever figuring it out ... ask someone for help "Faster!"

2006-08-09 12:29:52 · answer #6 · answered by grande alacrán 5 · 0 0

fedest.com, questions and answers