Ray C Ray C - 6 months ago 40
Smarty Question

Smarty. User variable as Object

I want to use smarty variable as the object key, but I can not make it working.


is the array, and
is string variable.
But it does not work as expected.

When I use


it works,



with the
assigned "iphone", does not work.

Any idea?



I have changed quote to double quote and it works. So when I used following:


it works like charm.

Thank you.