whats wrong with this?
<?php
switch ($section) {
default:
include("addnews2.php");
break;
case "addnews":
include("addnews2.php");
break;
}
?>
p.s. i got a apache on my home pc just to test the scripts and its runin on Winxp
i also tryed
<?
if ($section == "news") {
include("news.php");
} elseif ($section == "welcome") {
include("welcome.php");
} else { echo "test"; }
?>