Hi all, got a problem with the switch command
basically i am making awebsite that runs more a less from the index page so i am using for links <a href="index.php?=id">
then on the index page in a serpate div i have this code
switch ($HTTP_GET_VARS[id])
{
//default = news
default: include "news/news.php";
break;
//guides
case 'guides': include 'guides.php';
break;
//contact
case 'contact': include 'contact.php';
break;
}
the news works great it displays it ever time the page laods problem is any of the links i have made so far when i click them they do not load at all on the place where news is
any help will be appericated