Dynamic Variable Name In Smarty 2

Posted by in Technical

So I spent the last few days figuring out how to create dynamic variables or variables variable in Smarty 2. If you only have one value the variable name will be But I need it to be dynamic like : We name the counter variable as $count. In Smarty 3 you can easily use If we loop with section, the could will look like this : But this thing is not working in Smarty 2. I try to use smarty 3, but when I refresh my browser there are too…read more