Forum Moderators: coopster
sorry for the bad explanation
The only other cause I can think of is that you didn't put <?php $title = "Animals"; print $title; ?> between the title tags. <title><?php $title = "Animals"; print $title; ?></title>
but didnt work either
so i tried this
<head>
<title>dhdhd</title>
</head>
<body>
<center><?php $title = "Animals"; print $title; ?></center>
<?php echo $title; ?>
</body>
i put anything on the title right. and i use echo on the body and it actually did what i wanted it print animals/
but what i think that might be the proble is that
i am doing this
<head>
<?php include("http://www.mysite.com/index/source/modules/php/head_tag.php") ?>
</head>
<body>
<center><?php $title = "Animals"; print $title; ?></center>
</body>
on the head file that is this one [mysite.com...]
is where i put the title
so maybe that is why i cannot echo the $title variable on another web page using include.
any suggestions