timhersh
16 Apr 2010, 10:15 PM
need help with this one, I am designing a website for an insurance company who has 4 locations. They have a link called Easy Quote, on this page it has a text box for zip code, when the user enters the zip code they should be sent to the quote page...BUT it needs to go to a certain quote page depending on their zip code.
I can take care of most of this but am not sure how to write a script that will read the zip code then compare it to my list, or maybe a IF statement, then based on that zip code it sends it to a certain page, otherwise it sends it to a different page.
Please help
one other thing, we would like to alternate which page it goes to for one zip code. For example if someone enters 12456 it would send them to form1.php first, then the next time someone enters that it would send them to form2.php, then the next time back to form1.php
any ideas
thanks
I can take care of most of this but am not sure how to write a script that will read the zip code then compare it to my list, or maybe a IF statement, then based on that zip code it sends it to a certain page, otherwise it sends it to a different page.
Please help
one other thing, we would like to alternate which page it goes to for one zip code. For example if someone enters 12456 it would send them to form1.php first, then the next time someone enters that it would send them to form2.php, then the next time back to form1.php
any ideas
thanks