Can anyone tell me how to dynamically set a page's title so that it appears in the title bar of the browser? I want to be able to pass a variable ($author) from one page and make it the title of the receiving page. I have searched for 3 hours and have failed to find anything.
I've tried : <title><?php $author ?></title> , but this does not work. I pass it something like http://www.mysite.com/mypage.php?author=John%20Doe but it only displays the url in the title bar in IE, and nothing at all in NS and FF.
Thanks.



Reply With Quote



Bookmarks