I'm doing a web project which involves states. I'm required to link each page (a state) to the next using a Flash button. (Our class has Macromedia Dreamweaver 8) I have this button link to a file that checks the referrer of a webpage and then redirects you a new page based on the page you were just on. For some reason, it keeps taking me to the same page. I have a very long if statement which has 14 other "else if"s and one "else". The page it takes me to is the page within the original "if" statement block. Does someone know what's wrong? Please help soon as this is urgent.
Thanks. No, my teacher didn't require it but I like going above and beyond. I finished the project already (I just put a different link on each page) but I was still wondering how to do it, if you knew how.