[FIXED] Conditional Statement Error in IE/AOL Browser
Posted: Sun Jul 03, 2005 5:33 pm
I'm not quite understanding this error, but when showing my website to friend who viewed my website in both AOL browser and IE, they say both my splash page and main layout page in the same page (whereas, it should show one or the either depending on if a cookie is saved or not). Which leads to the header errors. I believe if I some how could figure out what is causing the if else statement to break down and not work as intended, then the header errors would go away.
Which the strange part is, the snapshot i have shows that the person saved a cookie with the neccessary variables. I have the screenshot below.

And here's my code, although it's pretty whacked up. (I haven't had the time to actually CLEAN it up)
The even odder part is when i view it in both Firefox and IE, it works perfectly for me (note that the person who had the IE/AOL errors said it worked fine in firefox). Any fixes?
Edit: I have edited the script a bit, cleaned it and simplified it to hasten any help.
Edit 2: I deleted the php code in this post; newer version is in a post below
Which the strange part is, the snapshot i have shows that the person saved a cookie with the neccessary variables. I have the screenshot below.

And here's my code, although it's pretty whacked up. (I haven't had the time to actually CLEAN it up)
The even odder part is when i view it in both Firefox and IE, it works perfectly for me (note that the person who had the IE/AOL errors said it worked fine in firefox). Any fixes?
Edit: I have edited the script a bit, cleaned it and simplified it to hasten any help.
Edit 2: I deleted the php code in this post; newer version is in a post below