chantown Posted November 18, 2007 Share Posted November 18, 2007 Hi, does anyone know how to use PHP to change the title of a page? Let's say my title is currently "GOGOGO" , but I want to add a string "$x" to it so it says "GOGOGO $x", using PHP does anyone know how to do that? Thanks, Link to comment https://forums.phpfreaks.com/topic/77801-changing-title-of-page/ Share on other sites More sharing options...
~n[EO]n~ Posted November 18, 2007 Share Posted November 18, 2007 <?php $var = "GOOOOO"; echo ("<title>Ohhh What a title...'$var'</title>"); ?> Link to comment https://forums.phpfreaks.com/topic/77801-changing-title-of-page/#findComment-393787 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.