Hi all,
I have a page, where named example.php?id=5 then the code will retrieve the rows from id 5, which then the rest of the code puts them out. For example, id 5 may be the person John and then id 4 may be Jane.
The mysql retrieving works when i try to display the info. However, is it possible to use these to set my <title></title>?
I've tried many ways,
PHP Code:
<?php echo htmlspecialchars($retrieverow, ENT_QUOTES, 'utf-8');?>
where $retrieverow was set at the bottom of the page(someone told me so) and others like $_GET. However, the title still remained blank.
Is there a solution to this? Many thanks