clarksvillephoto Posted July 9, 2007 Share Posted July 9, 2007 this may be an easy answer that I'm just not able to figure out on my own... I want to create a one entry form that carries someone to a link on my website based on the code that they enter. Nothing secret or considered a password. I want to set up like five different codes that I can give a client over the phone. They go to my website, enter the code I gave them over the phone, and it takes them to the part of the website I want them at. It sounds silly but there is a rhyme to my reason. Can anyone help? Thanks! Quote Link to comment Share on other sites More sharing options...
clarksvillephoto Posted July 9, 2007 Author Share Posted July 9, 2007 can anyone help me out on this one? Quote Link to comment Share on other sites More sharing options...
AndyB Posted July 9, 2007 Share Posted July 9, 2007 declare array of codes declare array of urls check if form submitted if yes - locate element is codes array, choose same element in urls array, use header(location...) otherwise display form Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.