am i understanding this right, for the template i have created the file needed and its working fine, although i still must not be doing something right, its not working::
for the include aea i have the following code under the <body> tag
code:
<body>
<div class="banner">
</div>
<div class="nav">
<a href="/?id=home">home</a>
<a href="/?id=graphics">graphics</a>
<a href="/?id=webdesign">web design</a>
<a href="/?id=projects">projects</a>
<a href="/?id=msn">msn</a>
</div>
<?PHP
error_reporting (E_ALL ^ E_NOTICE);
if(!$id){ $id = $HTTP_GET_VARS['id']; }
if($id=="" or $id=="home"){
include("home.php");
}elseif($id=="graphics"){
include("graphics.php");
}elseif($id=="webdesign"){
include("design.php");
}elseif($id=="projects"){
include("projects.php");
}elseif($id=="msn"){
include("msn.php");
}elseif($id=="about"){
include("about.php");
}elseif($id=="contact"){
include("contact.php");
}
?>
</body>
and the file home.php consistis of only
code:
<div class="content">
<div class="dt">
<span class="dt"><script type="text/javascript">document.write(getdt())</script></span>
</div>
this is a test of the new site design, it isnt working
</div>
am i doing something wrong here? i cant see why it wouldnt work unless im doing the home.php file wrong, as i have compared my coding to absorbations.....