I think it’s time for some further clarification of our site’s dynamics (or not) and available tools. This will be a long post

.
We have Macromedia studio 8 (thanks to a project) and notepad++ to do all our design and coding work, no special CMS, just write it and put it on the server for testing. The basics of our site are set up to use all possibilities of dynamic sites and MySQL, but in reality at this moment, we use hardly any of that, not even a database or “includes”. Database will come in the future though.
Our index.php is like a container with the header, sidebar navigation (including bot-trap), and footer already on the page and visible. Index.php has the doctype and head stuff and uses php to fill the body-content part of the container. We do not have additional header.html or footer.html pages as includes (if I use the right term here); they are pictures (header.jpg, body-bottom.jpg) called up in the index page with help of the CSS file. The entire code (with some blahblah deleted) is at the end of this post. I think that’s a rather clean and quick way of doing things, only one index.php and one CSS file.
As to this problem. I tried George’s solution with the one part in the head section of index.php and the actual page title at the beginning of a body content page. No dice, don't know why. Several similar solutions are posted in different forums, especially clean looks
<head>
<title><?php echo $_GET['title'];?></title>
</head>
with as links several variations of:
<body>
<a Href="?act=x” &title=”pagetitle"
</body>
I also tried putting the $title somehow in the ?php section in the index.php, in line with the require command. That would be the nicest solution, a simple "require" for each page, including an individual page title and description.
I tried several variations of these solutions, all no dice, that is, the tab of firefox and page source keeps giving “undefined index” and other errors.
Finally, Happety, you are right and I am spending waaayyy to much


-unfortunately unpaid- time on getting this site perfect but ignoring parts of other sites with too many “under construction” pages. Then again, once I get going, I want to understand the basics,

not just copy and past a piece of coding.
Layout of the index.php, full code you can see in "view page source"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="cz">
<head>
<meta 'Content-Type' & 'Content-language' & <meta name="Author"
<meta name="description" content="Czech Friends, about the shared American Czech settlers heritage, historic emigration from South Bohemia to America, genealogy, and heritage or genealogy tours to the Czech Republic" />
<meta name="keywords" content=" ………" />
<title>Czech Friends, about the shared Czech American settlers' heritage</title>
<link href="css/fors.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="main">
<div id="header" title="Czech Friends"></div>
<div id="sidebar">
*******
All the sidebar text and links comes here, for example
<li><a href="?act=14">Donations and subscription</a></li>
********
</div> --end of sidebar.
<div id="body_content"> this is the dynamic part getting the body content files
<?php
if(isset($_GET['act'])){
switch ($_GET['act']) {
*******
Here are all the names and locations of the body content files, for example
case "14": require("./donations.php"); break;
default: require("./intro.php");
}
}
else {
require("./intro.php");
*******
?>
<div id="body_bottom">
******
Text of body bottom for all pages
******
All closing codes </div>, </body>,</html>