#THIS IS THE PHP FILE assign('test','123'); $smarty->display('index.tpl'); ?> $THIS IS index.tpl in folder TEMPLATES