- Impact
- 1
PHP Question
Ok, I haven't done PHP in a couple years, so I'm a bit rusty.
Now, when you have domain.com/index.php?page=whatever, to see what the page is in your code (to check to see what page needs to be displayed), don't you just use
But it doesn't seem to work... I found one of my old scripts I wrote a while back and it wont work properly.
Ok, I haven't done PHP in a couple years, so I'm a bit rusty.
Now, when you have domain.com/index.php?page=whatever, to see what the page is in your code (to check to see what page needs to be displayed), don't you just use
PHP:
if($page=="whatever")
{
print 'this shows up';
}
But it doesn't seem to work... I found one of my old scripts I wrote a while back and it wont work properly.