Nathan,
Very true...however, what I was trying to say was that you can't do this...
<cfoutput query="query_one">
#query_one.variable#
<cfoutput query="query_two">
#query_two.variable#
</cfoutput>
</cfoutput>
but, using CFLOOP you can...
<cfloop query="query_one">
#query_one.variable#
<cfloop query="query_two">
#query_two.variable#
</cfloop >
</cfloop >
Regards,
Chuck McLean
----- Original Message -----
From: "Nathan Stanford" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 26, 2001 7:57 AM
Subject: Re: <cfoutput query=""> versus <cfloop>?
> You can do
>
> <cfoutput query="xxxx" group="TopLevel">
> #TopLevel#
> <cfoutput>
> #SubLevel#
> </cfoutput>
> </cfoutput>
>
> Nathan Stanford
> www.cftipsplus.com
> Free weekly CF e-zine
>
> ---------- Original Message ----------------------------------
> From: "Charles McLean" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 26 Jan 2001 07:14:40 -0600
>
> >RE: <cfoutput query=""> versus <cfloop>?Whenever possible, use <CFOUTPUT
QUERY=""></CFOUTPUT>, however, there is so much more flexability in terms of
what you can do with <CFLOOP QUERY=""></CFLOOP>. For a simple CF page,
CFOUTPUT is great...however, for situations where you need to nest multiple
<CFOUTPUT QUERY=""></CFOUTPUT> statements, you can't do it with CFOUTPUT,
and have to use <CFLOOP QUERY=""></CFLOOP>. There are also other advantages
of using CFLOOP, particularly when using CFINCLUDE and coding to FUSEBOX
specs....some things that CFOUTPUT doesn't let me do, CFLOOP has no problem
with handling.
> >
> >Regards,
> >
> >Chuck McLean
-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com
-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org