Dynamic Page Title and other PHP magic tricks.

Everything related to the visual and coding aspects of websites.
Sarah
Time Traveler
Posts: 1278
Joined: Mon Jun 25, 2012 11:18 am
Location: Ohio, USA
Contact:

Re: Dynamic Page Title and other PHP magic tricks.

Post by Sarah »

This is very cool! Thanks for sharing, nyx. :D

(And I hope you don't mind, but I moved this to Codings and Scripts, as dubs and I both had the same idea.)
If you're interested in time travel, meet me last Thursday.
nyxmidnight
Communications Staffer
Posts: 1078
Joined: Sat Oct 13, 2012 7:55 pm
Location: Canada
Contact:

Re: Dynamic Page Title and other PHP magic tricks.

Post by nyxmidnight »

No problem!
Join in the Tale, in the Blight, of Conquest and Lies
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone
Masao
Host
Posts: 579
Joined: Thu Jun 16, 2011 12:29 am
Contact:

Re: Dynamic Page Title and other PHP magic tricks.

Post by Masao »

Hey, hope you don't mind me jumping on this, but I wrote a tutorial that also covers this, but removes the need to manually set the current page in a variable.

http://blog.aurenen.org/2015/11/php-dyn ... age-title/
THE FATE OF DESTRUCTION IS ALSO THE JOY OF REBIRTH.
nyxmidnight
Communications Staffer
Posts: 1078
Joined: Sat Oct 13, 2012 7:55 pm
Location: Canada
Contact:

Re: Dynamic Page Title and other PHP magic tricks.

Post by nyxmidnight »

I don't mind at all! Thank you so much, Masao!
Join in the Tale, in the Blight, of Conquest and Lies
Come the Sun, to Tarnish in the Sky
Vow that we shall Tear the Light - Dark seizes the Throne
Lost in thoughts, all alone
Post Reply