tags:

views:

59

answers:

1

In smarty is it possible or is there any kind of function to render a template and return the result?

for example:

$rendered_content = $smarty->render("content.html")
+4  A: 

Yeah there is,

$rendered_content = $smarty->fetch("content.html");
What just happened
Galen