Jump to content

Dynamically setting title with PHP?


Far Cry

Recommended Posts

Hi there, so recently I have been trying to dynamically set the title on a page with PHP

I have tried

<title><?ech"$username";?>'s Profile</title>

 

the result is

"'s Profile"

 

note that the username variable is being passed thru a file that is required. Any help is appreciated

Link to comment
https://forums.phpfreaks.com/topic/215750-dynamically-setting-title-with-php/
Share on other sites

Hi there, so recently I have been trying to dynamically set the title on a page with PHP

I have tried

<title><?echo"$username";?>'s Profile</title>

 

the result is

"'s Profile"

 

note that the username variable is being passed thru a file that is required. Any help is appreciated

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.