Ok here's my first loop

<cfloop from="1" to="#session.locationCount#" index="i">


Here is the code within the loop


                
<cfset i = #i# +1>

         
<tr>
  <td> 1.
    <select name="<cfoutput>Company#i#</cfoutput>"



The company#i# part s what I am incrementing by 1 each time.


But if the top loop index is 2, then I want the increment to go from 1-10 on 
the first loop, 11-20 on the second.





>You'll need to show your work, since I cannot picture how your
>variable are defined, or how your loop structure works
>
>On 6/13/06, Torrent Girl <[EMAIL PROTECTED]> wrote:
>> If I don't reset it for each instance, then I get Variable2 is not defined 
>> and so on.
>>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:1877
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to