I have a kinda hard question to pose.... hopefully not to answer.
i have an html front page that uses php
<?PHP
if(empty($content)) {
$content = 'body.php';
}
if(empty($links)) {
$links = 'nav.php';
}
if(empty($header)) {
$header = 'head.php';
}
?>
<html>
<head><title>testing php cms front end</title>
<link href="style2.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="maincontainer">
<div id="topsection"><?php include $header; ?>
</div>
<div id="contentwrapper">
<div id="leftcolumn">
<div id="inner_space"><?PHP include $links; ?>
</div>
</div>
<div id="contentcolumn">
<div id="inner_space"><?PHP include $content; ?>
</div>
</div>
</div>
<div id="footer">should be fooot.
</div>
</div>
</body>
</html>
what i am trying to do is setup the nav.php to show links to a database table that has a section and have it link the the body.php to show the articles that correspond with that section. I don't know if i gave enough info kinda hard to state what i want to try to do.