Ok I've tried a few different things and spent the last couple of hours looking at tutorials on Google and on the forum but they all say the same thing which doesn't resolve the problem.
Basically my php includes won't work. I am now able to see my homepage's content but any link I click just stays with the homepage's content instead of its respective content.
Here is my navigation menu:
And here is my include which is in the content section of my index file:Code:» <a href="index.php">Home</a> <br /> » <a href="index.php?p=news">News</a> <br /> » <a href="index.php?p=values">Classic Rare Values</a> <br /> » <a href="index.php?p=guides">Guides</a> <br /> » <a href="index.php?p=knowledge">Knowledge</a> <br /> » <a href="index.php?p=links">Links</a> <br />
If anyone can spot the error, it'd be wonderfulCode:<?php $_GET['page']; if($page == "home") { include('home.php'); } elseif($page == "news") { include('news.php'); } elseif($page == "values") { include('values.php'); } elseif($page == "guides") { include('guides.php'); } elseif($page == "knowledge") { include('knowledge.php'); } elseif($page == "links") { include('links.php'); } else { include('home.php'); } ?>.





.

Reply With Quote

.

U +rep :8.


My last reputation was from ThisNameWillDo!.