This image shows basically exactly what i've been trying to use. the only difference, where i was trying to use "index.php", now we have "about.php"; "calendar.php"; "contact.php" etc, and the "core" section of each page-- the section which is most unique in each page is "maincol".
the key, i believe, to unlocking any power which might be there is where i'd bring in the Object instances of Data Access Class, or other OOP stuff somewhere around the "body.inc.php" level.
for what it's worth:
$patharray = pathinfo($_SERVER['PHP_SELF']);
$pathy = $patharray['basename'];

it's really just little more than an elaborate, reusable HTML page template.
No comments:
Post a Comment