[thelist] Dynamic title

DAVOUD TOHIDY dtohidy at hotmail.com
Fri Jul 23 15:08:33 CDT 2010

I am trying to have different titles, etc. for different pages. The index.php is the main page where other pages are being dynamically placed and replaced within this page by defining an array and etc.
$mypage = array ("" => "myhomepage.php", "0x01" => "overview.php",   // etc.

I have the following in the header of index.php file:

case '/index.php':
     $title = 'Home page title';
     $keywords = 'Home page keywords';
     $description = 'Home page desc';
case '/?pId=0x01':
     $title = 'Company Overview';
     $keywords = 'overview, overview2';
     $description = 'This is the overview of the company';
default: '/index.php';
It only shows the title etc. for index.php page. Other pages do not have their own title. etc the title for home page appear for other pages.
Your input would be appreciated.
Turn down-time into play-time with Messenger games

More information about the thelist mailing list