Calling a variable with a variable in its name - coldfusion?

后端 未结 2 1051
半阙折子戏
半阙折子戏 2021-01-22 10:18

Attempting to use squarebracket notation to reference a dynamic variable. (I\'m looping through a set of product created by a query, creating fields for each tied to their uniqu

2条回答
  •  一生所求
    2021-01-22 11:12

    This is just an example,because I do not know where you are setting your variables, but try something like the following on your action page:

    
    
    
      #form[dynamic_Var]#
    
      fail
    
    

    Here is the submitting form:

提交回复
热议问题