Looping over a Cfquery or a Struct ?

Posted by Somu on Stack Overflow See other posts from Stack Overflow or by Somu
Published on 2010-05-06T05:54:20Z Indexed on 2010/05/06 5:58 UTC
Read the original article Hit count: 246

Filed under:

Hi I have a query which retrieves Some data. I want to display that data considering some conditions in different div tags. Now my question is, I am doing this by looping the query once and getting the data in three different structs and using these structs while displaying. Is this a good approach or looping through the query everytime in each div to check the condition is the rirht approach ?

<tr >

features: #getAttributes.seat#
Disclosures: #getTicketAttributes.seat#

© Stack Overflow or respective owner

Related posts about coldfusion