Great point, Seth.  I got so used to using cfoutput by default, you know.
Thanks for the heads up!!
Bob Heck

----- Original Message -----
From: "Seth Bienek" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 30, 2001 8:24 AM
Subject: RE: Newbie help


>
> > the line -
> >     <cfset PHOTO ="images/thumbs/" & #ID# & ".jpg">
> > could just as easily be written
> >     <cfset PHOTO ="images/thumbs/#ID#.jpg">
> >
> > Obviously, all has to be in cfoutput tags.
>
> Doesn't have to be within cfoutput tags if it is inside a cf tag (i.e.,
> cfset, cfparam, cfanything).  Just wanted to make sure nobody got confused
> on that.
>
> Best Regads,
>
> Seth
>
> ------------------------------
> Seth Bienek
> Solutions Development Manager
> Stonebridge Technologies, Inc.
> 972.455.7294 tel
> 972.404.9754 fax
> ICQ #7673959
> ------------------------------
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> > Behalf Of Bob Heck
> > Sent: Thursday, March 29, 2001 11:29 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Newbie help
> >
> >
> > RE: Newbie helpNot that this is gonna rock anybody's world out
> > there, but I
> > have found that CF does a great job of evaluating variables inside of
> > quotations.  So, using the previous code as an example,
> >
> > the line -
> >     <cfset PHOTO ="images/thumbs/" & #ID# & ".jpg">
> > could just as easily be written
> >     <cfset PHOTO ="images/thumbs/#ID#.jpg">
> >
> > Obviously, all has to be in cfoutput tags.
> >
> > I've even had as many as three back to back, such as <cfset filename =
> > "#code1##code2##year#DOC.txt">
> > It works fine, and a lot easier to write that using the concatenation
> > operators.
> >
> > Bob Heck
>
>
>
> -------------------------------------------------------------------------
> 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
>


-------------------------------------------------------------------------
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

Reply via email to