To avoid that all sections have the same title you must replace with variables php
He explained
Normally I usually divide the pages with PHP in 3/2 parts.
1 - Header where it included (title, navigation menu, etc.)
2 - Footer
Now from the Index.php page or another page, I start calling the Header and the Footer.
Example:
<?php
include "template/header.php";
?>
// Contenido de la página
<?php
include "template/footer.php";
?>
In the template header.php you must replace the text of title
with a PHP variable
Example:
<title><?php echo $title;?></title>
Now above the include of the header.php create the value of the variable in this case the title of the page.
$title = "Hola Mundo";
Complete example
<?php
$title = "Hola Mundo";
?>
<?php
include "template/header.php";
?>
// Contenido de la página
<?php
include "template/footer.php";
?>
Remember to replace the common text of title
with the php