![]() |
PHP problems getting annoying...
I'm recoding my site, and I have it so that based on a certain condition the content changes from one include of a .htm file to another include.
Well, I get sorta what I want, but when I try to go to a page other than the index, one page just shows up for them all. Like if I go to www.domain.com/index.php?page=aff_apply the affiliation page shows, but if I go to www.domain.com/index.php?page=staff the affiliation page still shows. It's probably something in my coding... You can look for your self here: www.theglassprison.net click on any link that has ?page= in it, and you'll be taken to the affiliation page. Here's the code I'm using... PHP Code:
|
try changing
else if (... to elseif (... |
Quote:
|
BTW, you can optimize that down to two statements:
PHP Code:
|
Quote:
|
All times are GMT. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|