I am trying to output a set of variables from a dynamic table using a cfloop.
Here is my code.
I am trying to output a variable named #txt1Row1# , #txt1Row2#, #txt1Row3# and so on..
My problem is when I put pound signs around
I get an error because it effect the pound signs already there in varialbes #RowCount# and #ColumnCount#
Any help is greatly appreciated.
Here is my code.
Code:
<cfset j = 1>
<cfloop index = "RowCount" from = "1" to = #j#>
<cfloop index="ColumnCount" from = "1" to = "3">
<cfoutput>txt[COLOR=red][b]#ColumnCount#[/b][/color]Row[COLOR=red][b]#RowCount#[/b][/color]</cfoutput>
</cfloop><br><br>
<cfset j = j + 1>
</cfloop>
I am trying to output a variable named #txt1Row1# , #txt1Row2#, #txt1Row3# and so on..
My problem is when I put pound signs around
Code:
<cfoutput>#txt[COLOR=red][b]#ColumnCount#[/b][/color]Row[COLOR=red][b]#RowCount#[/b][/color]#</cfoutput>
Any help is greatly appreciated.