I have a project where I have to redirect people depending on what zip code that they put into the zip code field. There are1206 zip codes that if someone puts in they get redirected to another site. I really don't want to have to do 1206 if statements. Anyone have any other solutions?
You dont have to use if statements, just make 1206 variables and use which ever matches what the user put in. Or if you have back end experience, create a database table with the info. Not really a quick way of doing this.
Thanks,
Justin