Posted by "Stephen J. Lawrence Jr." on 09/30/74 11:17
I think I have found the solution by using backticks:
{foreach name=digit_loop from=$digits item=digit}
{assign var=type_var_string
value="page_key_`$digit`_type}
{$page_obj->$type_var_string}
{/foreach}
.....
Stephen J. Lawrence Jr. wrote:
> Well, I have 12 different sets of variables on this page that I
> display in a form. The html is all identical except for the variable
> names. I am trying to keep from having to hardcode 12 different HTML
> TR's for each of the vars.
>
>
Navigation:
[Reply to this message]
|