Link to home
Start Free TrialLog in
Avatar of tryport
tryport

asked on

ColdFusion - add a line break every 15th item

In looping over a list and displaying the output, how could I add a <td> every 15th item? (So instead of one <td> with all of the names, a new td every 15th name - not a new row, just a new <td>)

<tr>
   <td>
<cfloop query ="allItems">
#names#< /br>
</cfloop>
  </td>
</tr>
ASKER CERTIFIED SOLUTION
Avatar of _agx_
_agx_
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tryport
tryport

ASKER

That answered it - thank you!