Hmm mate...
This is the code that you should enter....
<? if(isset($page)) { include("$page.php"); } else { include("news.php"); }; ?>
You have entered....
<? if(isset($page)) { include("$index.php"); } else { include("test.php"); }; ?>
------------------
You have changed the $page.php with $index.php ... Change that back mate and keep it how it is...
That should work...
If you want to change anything change the "news.php" to whatever.php
Then see if it works.
Thanks
Dane
|