Hi, I've been working on a PHP verion of my site because im really sick of editing all the html files. I have followed some of the code that i found here, but it always seems to display the default, even way i say index.php?page=firm it still shows whats in home.html. Is it just my setup (i run IIS w/php support on my desktop to test my sites) or what am i doing wrong? please help!
<?php
if(isset($page))
{
switch ($page)
{
case "home":
include("home.html");
break;
case "firm":
include("firm.html");
break;
case "services":
include("services.html");
break;
case "contact":
include("contact.html");
break;
}
}else
include("home.html");
?>