I was reading through the sitepoint book on php and mysql, and I was trying to write a simple template as per chapter 4 but I'm having a problem. A snippet of code is shown below, its probably something silly I'm doing wrong
// $page is decoded from url and is verified to be as expected
//... some other stuff
$title = '$page';
<?php echo $title; ?>
However the title is always blank - what am I doing wrong?