CrazyImpling
New Member
- Reaction score
- 3
Alrighty, now that I got my main page displaying fixed, I'm kind of looking for some help with the PHP navigation thingy.
So I have a link: ***/index.php?p=news
I was wondering, how does that work?
switch($_GET['p']) {
case "news":
include 'news.php';
break;
}
Doesn't seem to work how I was thinking it would, it just adds it at the bottom of the page?
So I have a link: ***/index.php?p=news
I was wondering, how does that work?
switch($_GET['p']) {
case "news":
include 'news.php';
break;
}
Doesn't seem to work how I was thinking it would, it just adds it at the bottom of the page?