I have a php include
statement for the "head" of my website.
I am using the following code to call head.php
...
<?php
include '../components/head.php'
?>
And in my head.php
I have the following code...
<head>
<link rel="stylesheet" type="css" href="/style.css">
<title>Dummy Code</title>
</head>
How can I make it change the title by having a variable in my page on my page like Dummy Code | About
being the title if I have $title = "About"
on my webpage.
Is there anyway to do this?