Cómo usar PHP para establecer el título

//1. Simply add $title variable before require function
<?php

$title = "Your title goes here";
require("header.php");

?>
  
  
//2. Add following code into header.php

<title><?php echo $title; ?></title>
Calm Crocodile