Ok, im having an odd problem. In all the php tutorials I have read they dont teach the basic useful Stuff, what is this called and how do i do it...
I have like a variable and then I want it to show up on another page.
Im using it so I can have separate keywords and stuff on each page.
CODE
<php
$title = "Page title here";
$description = "description here";
$keywords = "keywords go here each seperated by commas";
?>
this is on the index of a page.
And then in my header include I have,
CODE
<title><?php echo '$title' ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="<?php echo $description ?>" />
<meta name="keywords" content="<?php echo $keywords ?>" />
Am I doing it right? Cause it doesnt seem to be working.