rookie question
Posted: Sun Mar 15, 2009 9:08 pm
I have created simple php pages
http://www.authentichomes.us/index.php
and looks like it only shows main page , about_us.php, script just performs this line all the time:
which is inside of this simple script :
parametr $page seems not to be set but I dont know why,
thanks for any input to this
http://www.authentichomes.us/index.php
and looks like it only shows main page , about_us.php, script just performs this line all the time:
Code: Select all
default : include("about_us.php"); break;Code: Select all
<?php
// page
switch($page)
{
case "services" : include("services.php"); break;
case "gallery " : include("gallery.php"); break;
case "contact_us" : include("contact_us.php"); break;
case "faq" : include("faq.php"); break;
default : include("about_us.php"); break;
}
?>
thanks for any input to this