How do I add the number of the record for query results?

OK, so I am outputting the results of a query on screen.  there are 15 results, but I want to number them 1-15.  (They are ranked pictures...)

how to do this in cold fusion??
14_eastAsked:
Who is Participating?
 
_agx_Connect With a Mentor Commented:
Use #currentRow#

<cfoutput query="yourQuery">
   This is query record number #currentRow#  <br>
</cfoutput>
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.