I found that using Smarty with PHP, sometimes extra time will need to be used for
1) using quite different syntax than PHP itself 2) need to check small cases, b
Why use a template engine when you can just use your html files and inject php code where you need it? you can do this with Psttt! templating engine for php
full source code here http://github.com/givanz/psttt