Smarty Template: My First Smarty

Smarty Template Step By Step Tutorial - Part 3: After create folder needed to operate Smarty template at previous post, in this post, we try to test it. We want to create a page to show simple hello text. Let's do it.

First, we do with template file. Create a file named "test.tpl" within template folder. Enter following code: