tags:

views:

257

answers:

2

I searched google, but coulding find anything. Checked the documentation too...

I thought Smarty allowed PHP to be written inside the template itself if you escaped the template engine?

+3  A: 

There is the ability to write PHP code inside {php} tags, but you have to turn this on with a smarty config setting.

Smarty PHP Tag

mercutio
A: 

you can also use

include_php

if you really have to. But It's not the best solution (the function is pretty much deprecated)

SkaveRat