Question: How to pull info from MySQL to populate title tag?
<title><? echo PAGE_TITLE; ?></title>
define ("PAGE_TITLE", "Blablablablablabla");
ETC ECT ETC ETC ...
I want to customize further the PAGE_TITLE in the file details.php (www.mysite.com/details.php?listid=... ) to reflect information taken from MySQL such as the country name.
What I tried:
define ("PAGE_TITLE", "Properties for sale in $record[countryname]");
I tried $_GET, $_POST, $record, $data, etc ... nothing seems to pull the information.
Is it because it is in the "define" function?
I am at a loss. Any suggestions or links would be appreciated.