Nesting Smarty in PHP in Smarty - really
I'm working on a project where I'm using PHP in my Smarty templates. That works fine - I just use:
{php}
But now I need some Smarty variables in my PHP functions. So I need to escape back to Smarty, or assign the variables earlier in Smarty and call them from within PHP.
Is there a way to do this?
__________________
X-Cart version 4.7.12
|