See what I wanted to do was have the title of the page change according to the shown.
Now the way it's supposed to work is as follows:
<?
function page_name (
$title= "default title",
$description= "default description",
) {
?>
<title><? echo $title; ?></title>
<meta name="description" content="<? echo $description ; ?>">
<? } ?>
Which was typed on the head.inc file
&
<?
page_name ("page title","page description)");
?>
which was written on the nav.inc file
The script worked but it removed the html tags that were in between the function and the <? } ?> lines from the source.
I've tried everything including using an array called $meta = array("title", "desc");
But it just doesn't seem to work.