Michael Mior
Toronto, Ontario
2 years ago
unknown
What you can do is specify the title (and any other parameters you want) in global variables above the require statements. Then you can access these in the files which are included. So you can have something like <?php$title = "Title"; require("header.php"?> and then, in header.php <title><?php echo $title; ?>
by Michael Mior 2 years ago
What you can do is specify the title (and any other parameters you want) in global variables above the require statements. Then you can access these in the files which are included. So you can have something like <?php$title = "Title"; require("header.php"?> and then, in header.php <title><?php echo $title; ?>
by Michael Mior 2 years ago