Suppose I have in php file
<?
$tpl->assign('_YEAR',date('Y'));
$tpl->assign('_FOOTER',"This is {$_YEAR}");
?>
and in templeate file
<div class="footer">{$_FOOTER}</div>
---
The current output is
<div class="footer">This is {$_YEAR}</div>
What do I do so that I get
<div class="footer">This is 2012</div>
----
P.S. Year is just an example. This can be any value coming from database.