bigfatgreedykat Posted March 10, 2008 Share Posted March 10, 2008 Hello I was wondering whether it was possible to insert the following into the <title>Web Site Name - Menu Title - Web Page Name </title> Look forward to any replies. regards BFGK Link to comment https://forums.phpfreaks.com/topic/95366-insert-web-page-name-in/ Share on other sites More sharing options...
Trium918 Posted March 10, 2008 Share Posted March 10, 2008 <?php $title = "Web Site Name - Menu Title - Web Page Name"; ?> <title> <?php print $title ?> </title> Link to comment https://forums.phpfreaks.com/topic/95366-insert-web-page-name-in/#findComment-488399 Share on other sites More sharing options...
GameYin Posted March 10, 2008 Share Posted March 10, 2008 I think he means, like forums do. They have the title of the forum thread in the title. Do something like this...btw, $title in this example will be the post submit from the title of the thread. <?php $title=$_POST['title']; ?> <title><?php echo $title ?>| WebMasters Forum</title> There you go. Have fun ;] Link to comment https://forums.phpfreaks.com/topic/95366-insert-web-page-name-in/#findComment-488408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.