NeXDesigns 0 Report post Posted October 14, 2004 I used this code in my index.php (click here to view) <?php[br]switch( $_GET['page'] ) { [br][/br] case 'news' : [br][/br] include 'news.php'; [br][/br] break; [br][/br] case 'faq' : [br][/br] include 'aboutus.php'; [br][/br] break; [/br] [br] case 'tutorials' : [br][/br] include 'tut.php'; [br][/br] break; [/br] [br] case 'ps7' : [br][/br] include 'ps7.php'; [br][/br] break; [br][/br] default: [br][/br] include 'news.php'; [br][/br] break; [br][/br]}[/br]?> [br] to make the center include change to whatever the input it (like index.php?page=404)But, it only works on the news page and on the FAQ page, everything else goes back to the news page.I cant figure out why it is doing this[/br]I used http://forums.xisto.com/no_longer_exists/?page=faq and it works, but when i use http://forums.xisto.com/no_longer_exists/?page=tutorials it goes back to the news page.Please help if you can. Share this post Link to post Share on other sites
NeXDesigns 0 Report post Posted October 14, 2004 Problem solved, it was a stupid ftp error when i tried to update the code. Thanks anyway! Share this post Link to post Share on other sites
pweb 0 Report post Posted October 23, 2004 Sorry i posting here AgainWhat happen? Share this post Link to post Share on other sites