While on this topic, how about efficiency with cfoutput?

It makes sense to me that this:

<select name="fred">
        <cfloop query="fredQ">
                <option
value="<cfoutput>#val#</cfouput>"><cfoutput>#valDesc#</cfouput>
        </cfloop>
</select>

is faster than this:

<cfoutput>
        <select name="fred">
                <cfloop query="fredQ">
                        <option value="#val#">#valDesc#
                </cfloop>
        </select>
</cfouput>

But what about these?

<select name="fred">
        <cfoutput query="fredQ">
                <option value="#val#">#valDesc#
        </cfoutput>
</select>

<select name="fred">
        <cfloop query="fredQ">
                <option value="<cfoutput>#val#">#valDesc#</cfouput>
        </cfloop>
</select>

Shawn McKee
Manager, Web Development
NewsStand, Inc.
8620 Burnet Rd., Suite 100
Austin, TX 78757 USA
512-334-5100
Read newspapers and magazines from around the world in a whole new way.
NewsStand delivers them to your PC without paper and without delay!
Try: http://www.newsstand.com?NSEMC=EMNSI000001



______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to