Hi there everyone,
I am fairly new to php and while working on a website, I've come across a small problem.
I am trying to combine 3 php files into my index.php in order to create one dynamic page, the first file is the top header.php, the second one is the home.php and the third is the navigation.php.
Creating a dynamic page with the header and home php files is not a problem while I'm using the following code:
...........................................................
<title> Internal Website</title>
</head>
<body>
<?php
require("header.php");
?>
<table width="100%" cellspacing="15" cellpadding="5" border="0">
<!--DWLayoutTable-->
<tr>
<td
</tr>
</table>
</body>
</html>width="100%" height="29" valign="top">
<?php
if ($c != "") {
include("".$c.".php");
} else {
include("home.php");
}
?>
</td>
.......................................................
My question is how can I include the navigation.php so that it is presented on the left hand side of the dynamically created page and right below the header.php ?
Here is what I want to achive:
header
n |
a |
v | home
i |
g |
a |
t |
i |
o |
n |
Any help will be much appreciated.
Cheers,
Chris P.