Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Nested Loop

    Hi I am attempting to output this data using a table but things do output very
    well. Do I need nested looping. Thanks <table width='100%' border='0'> <tr>
    <td width='25' valign='top'> <cfset rates =
    #aAvailabilityContainer.getRates()#> <cfloop from ='1' to ='#arrayLen(rates)#'
    index='jj'> <cfoutput>#rates[jj].getRate()# </cfoutput><br> </cfloop></td> <td
    valign='top'> <cfset desc = #aAvailabilityContainer.getRates()#> <cfloop from
    ='1' to ='#arrayLen(rates)#' index='kk'>
    <cfoutput>#desc[kk].getPlanDescription()#</cfoutput><br> </cfloop></td> <td
    width='25'>#other#</td> <td width='25'>#url#</td> </tr> </table>

    DuLaus Guest

  2. Similar Questions and Discussions

    1. XML nested Loop?
      hi all. I´ve just completed a little test for making a tree component with custom icons / bransch. However, i can only get my first branch to...
    2. #40768 [NEW]: nested foreach break -- infinite loop - serious
      From: rave235 at gmail dot com Operating system: winxp PHP version: 5.2.1 PHP Bug Type: Scripting Engine problem Bug...
    3. Nested loop woes.
      Hi, I am quite new to using Director and am having some trouble with some nested loops. I am trying to create a drum machine, whereby users...
    4. Film loop rollovers working with tell sprite, but only if Loop is checked
      on mouseWithin me cursor 280 tell sprite 40 --the sprite containing the film loop sprite(60).member = member("networkmapsbuttonroll") --swapping...
    5. Question on Dynamic Array/Nested Loop approach
      Hello, I have the following code which populates as table data from a SQL Server 2000 stored proc (RSByDemoID2). Below that is the view and...
  3. #2

    Default Re: Nested Loop

    resolved
    DuLaus Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139