You should never add extraeneous code into your templates, therefore Listing
1 would be the better candidate.
---mark
------------------------------------
Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net
====================================
> -----Original Message-----
> From: J Winter [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 6:48 AM
> To: CF-Talk
> Subject: Correctly using CFOUTPUT
>
>
> Hi, I've always been curious about this. What is the correct way? Does it
> matter?
>
> Listing 1:
>
> <CFOUTPUT>
> <TABLE>
> <TR>
> <TD>#var1#</TD>
> </TR>
> <TR>
> <TD>#var2#</TD>
> </TR>
> </TABLE>
> </CFOUTPUT>
>
> Listing 2:
>
> <TABLE>
> <TR>
> <TD><CFOUTPUT>#var1#</CFOUTPUT></TD>
> </TR>
> <TR>
> <TD><CFOUTPUT>#var2#</CFOUTPUT></TD>
> </TR>
> </TABLE>
>
> Is there an unwritten rule; if there are more than 4 (or ?) vars in a page
> Listing 1 is a good way to do it else Listing 2 is recommended?
> I'm assuming
> when using <CFOUTPUT QUERY="q1"></CFOUTPUT> Listing 1 would always be
> applicable.
>
> Thanks for any help!
>
> Josh
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists