Hi,
I seem unable to access a variables I created from within my include file?
index.php
header.php
What am I doing wrong?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Download
I seem unable to access a variables I created from within my include file?
index.php
Code:
<?php
$title_tag = 'This is a title ';
include('includes/header.php');
?>
header.php
Code:
<title><?php $title_tag ?></title>
What am I doing wrong?
Thanks,
1DMF
"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music Download