Smarty variable indexed by string question
This is a problem with understanding how smarty works:
I have a variable array $banner_code where $banner_code.$pos returns a string "x_marks_the_spot".
This string is then used to identify a variable set in php called $x_marks_the_spot.
My question is given only $banner_code.$pos how do I write to the contents of $x_marks_the_spot?
**** If only I could code this: {$"{$banner_code.$pos}"="xyz"}
__________________
X-Cart GOLD Plus v4.5.4
CDSEO Pro
ewdhosting Dedicated Server
Dedicated SSL
Stone Edge OM
|