LP560
08-11-2009, 11:17 AM
I've been stuck on this for months, not sure what I'm doing wrong or even if it can be done.
At the moment my sites header is in a global config file including the title tag, the first part of the title is located within this config file (so its the same on each page) the second part is in the following code on each page:
<?php echo get_header('My Title For This Page') ?>
So I end up with the following page title:
My site name | My Title For This Page
What I want to do is echo some info from my DB instead, is this possible?
Something like this:
<?php echo get_header('$heli['9']') ?>
Which would echo the info from the DB to the page title, but it doesn't want to work.
Any help will be appreciated :agree:
At the moment my sites header is in a global config file including the title tag, the first part of the title is located within this config file (so its the same on each page) the second part is in the following code on each page:
<?php echo get_header('My Title For This Page') ?>
So I end up with the following page title:
My site name | My Title For This Page
What I want to do is echo some info from my DB instead, is this possible?
Something like this:
<?php echo get_header('$heli['9']') ?>
Which would echo the info from the DB to the page title, but it doesn't want to work.
Any help will be appreciated :agree:
