Hi I know this is simple, but i just don't find the way .. in my page.php i have the folowing <?php $message = "hello world"; include 'template.html'; ?> and in my template.html i have the folowing <h1>$message</h1> so .. now i expect when i call page.php, i should see "hello world", but instead i see "$message" in my browser .. why is this ? how do i fix it ? Thanks
When including files if you have php inside that file you MUST have the .php extension on the included page. And as ^^ you can always escape from php and wirte html then carry on. You could just use: echo "<h1>$message</h1>"; PHP: Glen