Hi folks,
I´ve started to learm hot to use Fast Templates and I have a question...
I have a template called toplevel.tpl:
<!-- template toplevel.tpl//-->
<html>
<head>
<title>{TITLE}</title>
</head>
<body>
{CONTENT}
</body>
</html>
and I also have an index file (index.php):
<?
include "classFastTemplate.php";
$tpl = new FastTemplate(".");
$tpl -> define (array ("toplevel" => "toplevel.tpl"));
$tpl -> assign (array ("TITLE" => "My first page", "CONTENT" => "Hello PHPBuilder"));
$tpl -> parse ("MAIN", "toplevel");
$tpl ->FastPrint();
?>
And the result is that the page has its title "{My first page}" and on the screen is "{Hello PHPBuilder}".
Why are the characters "{" and "}" on the screen? Do I have something switch or where do I make mistake? Could you help me, please?