You could make it an array.. It would be a lot easier..

Example:

<!--- Declare your Array --->
<cfset resultsArray = arraynew(1)>

<!--- Populate your Array --->
<cfset resultsArray[1] = "result1">
<cfset resultsArray[2] = "result2">
<cfset resultsArray[3] = "result3">

<!--- Output the Array --->
<cfloop index="i" from="1" to ="3">
<cfoutput>#resultsArray[i]#</cfoutput>
</cfloop>

Hope it helps!

Adam St. Pierre
Programmer
The Northeast Group
www.thenortheastgroup.com
(518) 563-8214 ext. 126
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to