Passing Variables to Snippets
Let's learn how to change the page title dynamically by introducing a title variable.
We'll cover the following...
Changing page title dynamically
There’s one problem: if we include _header.php
everywhere, every page will get the same title, “Login”.
To avoid this, we should make the title ...