hye. I have a little problem about loopping statement.
This is the code..
then I create another looping which loop base on value count.
Then I got error
//Attribute validation error for CFLOOP.
line 412
412: <cfloop index="i" from="1" to="count">//
should I set addROW to replace value from #count# ??
This is the code..
Code:
<cfloop query="getQuest"> <cfset count=0> <cfquery name="chechking" datasource="#ds#"> select status_flag from survey_question where status_flag = 'N' </cfquery> count = count+1; </cfloop>
Code:
<cfloop index="i" from="1" to="count"> <tr> <td class="cssSearch" style="padding-left:5px;" align="center"></td> </tr> </cfloop>
//Attribute validation error for CFLOOP.
line 412
412: <cfloop index="i" from="1" to="count">//
should I set addROW to replace value from #count# ??
Code:
<cfset addROW = #count#>
Comment