Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6323545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:32:19+00:00 2026-05-24T16:32:19+00:00

<TMPL_LOOP NAME=loopname> <TMPL_VAR NAME=<TMPL VAR NAME=anothervariable>> </TMPL_LOOP> What I want to to is pretty

  • 0
<TMPL_LOOP NAME="loopname">
    <TMPL_VAR NAME="<TMPL VAR NAME="anothervariable">">
</TMPL_LOOP>

What I want to to is pretty much like this:

$a= 1;
$b = 'a';
print $$b;

As you see ,I need to refer to the variable whose name is contained in another variable,

but the above doesn’t work..

Is there a way to work around?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:32:20+00:00Added an answer on May 24, 2026 at 4:32 pm

    There’s no way to do that AFAIK.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery template setup like this: <script id='tmpl-video_list' type='text/x-jquery-tmpl'> <li> <a href='${url}'><br/>
I have a page that requires jQuery.tmpl, but I want to use native knockout
I have this typoscript language menu: tmpl.NavLang = HMENU tmpl.NavLang { special=language special.value =
I have a view and collection like this: window.DmnView = Backbone.View.extend({ template: _.template($(#tmpl_dmnListItem).html()), events:
This example does not work for me: $.tmpl('<span class=ui-button ui-widget ui-icon-${data}>\ ${data}</span>', \ [info,
Have alot of the following in this project <script id=placementsListTemplate type=text/x-query/tmpl> Trouble is, Eclipse
<script id=dropdownTemplate type=text/x-jquery-tmpl> <label for=${Name.toLowerCase()}>${Name}</label> <select name=${Name.toLowerCase()} id=${Name.toLowerCase()}_dropdown> <option selected='' value=''>-- Select a ${Name}
Is there any reason why the same template and JavaScript <script id=taskTemplate type=text/x-jquery-tmpl> <li>${name}</li>
I am using .tmpl() to fill out templates like so <script type=text/x-jquery-tmpl id=template> <form
I'm linking directly to the git for the jquery.tmpl, this is not recommended, I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.