GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Wednesday, April 6, 2011

Smarty - Starting Up

Download Smarty template engine..
In your project directory, create 4 directories
1. cache
2. configs
3. templates - places your tempalete file here (.tpl)
5. templates_c

In your php file that need transfer data to template file, use include the smarty class file
require("../libs/Smarty.class.php");
$smarty = new Smarty();
Share/Bookmark

No comments:

Post a Comment