Home » questions » Question for Web Developers.......?

Question for Web Developers.......?

2006-08-09 16:25:32, Category: Programming & Design
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!

Answers

  1. cp

    On 2006-08-09 17:48:50


    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)
  2. nwohiosteve

    On 2006-08-09 16:33:27


    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.
  3. muoreh

    On 2006-08-09 16:49:25


    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:
  4. tep

    On 2006-08-09 16:43:51


    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...
  5. grande alacrán

    On 2006-08-09 16:29:52


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