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
index.php
// $page is decoded from url and is verified to be as expected
//... some other stuff
$title = '$page';
include 'page.tpl.php';