RE: [PHP] PHP: Variables in <TITLE>

From: Date: Mon, 14 May 2001 13:30:35 +0000
Subject: RE: [PHP] PHP: Variables in <TITLE>
Groups: php.general 
Request: Send a blank email to php-general+get-52695@lists.php.net to get a copy of this message
I would recommend: <title><?php echo htmlspecialchars($name); ?> is logged in</title> that way you won't get burned by quotes, etc ... > From: Tarrant Costelloe [mailto:tcostelloe@insur-e.net] > Sent: Monday, May 14, 2001 7:59 AM > To: 'php-general@lists.php.net' > I want the the secure page to hold the users name > (from variable) in > the <TITLE> header .... Something along the lines of this: > > <title>$name is logged in</title>

« previous php.general (#52695) next »