I have a header template where I have the usual meta and title tags. What I'm wanting to do is echo out an object in order for the title to be dynamic.
What does seem to work is if I echo out the $_GET ['string'] , however when I try something like echo $row->something; I get nothing. I'm assuming the object is not being read because it is in a different file?
Here are the files I have:
Header.php
page1.php
page2.php
Footer.php
What I do is include the header and footer in page1 and page2. Sorry if I'm rambling on. Any help would be appreciated.