Question
cfloop -- "cannot convert number"
Maybe I'm just having a brain malfunction, but I'm trying to
create a cfloop and am getting "cannot convert x to a number"...
Here's what I have:
<cfset #myNumber# = 3000>
<cfoutput query="myQuery">
<tr>
<td><cfloop index="i" from="#myNumber#" to="#myNumber# + 5" step="1">#i#<br></cfloop>
</tr>
</cfoutput>
Basically, I want to start at 3000 at the beginning, then at each grouping of the output, show 5 increments...
Here's what I have:
<cfset #myNumber# = 3000>
<cfoutput query="myQuery">
<tr>
<td><cfloop index="i" from="#myNumber#" to="#myNumber# + 5" step="1">#i#<br></cfloop>
</tr>
</cfoutput>
Basically, I want to start at 3000 at the beginning, then at each grouping of the output, show 5 increments...