I've been transitioning my site from PHP to PHP/templates using PHPlib. My question is this. In PHP only I would do something like:
if($money)
{
echo("<img src="pic.gif">");
}
else
nothing;
With templates that turns into:
<img src="{pic}">
How do I avoid inserting a picture if I don't want one. Since I want the html completely separate from the php I don't want to use the echo anymore. For that matter is there a clean way to handle if/else blocks using templates in general?
Mike