redfire
-
Posts
2 -
Joined
-
Last visited
Never
Posts posted by redfire
-
-
Okay I'm currently working on a new template, and instead of making a hole new page for every thing I'm setting it up just it just changes the one area.
[code]<?php switch($_GET['id'])
{
default:
include('home.php');
break;
case 'news':
include('news.php');
break;
case 'forums':
include('forums.php');
break;
}
?>[/code]
and I have the links set-up like
[code]<a href="index.php?id=news">News</a>[quote][/quote][/code]
I have it set-up like that but it doesn't want to work :(
Switch Conditionals
in PHP Coding Help
Posted