you only need # within double quotes - when you're exposing the
variable within a literal string. otherwise don't use em.

G

On Fri,  3 Dec 2004 15:35:26 +1100, Seona Bellamy <[EMAIL PROTECTED]> wrote:
> I know it was something simple. Mind had drawn a complete blank though.
> Thanks. :)
> 
> You don't need # in a <cfset>?
> 
> Seona.
> 
> Quoting Lindsay Evans <[EMAIL PROTECTED]>:
> 
> > Hi Seona,
> > To escape a double quote, just double it :) Same as with hash marks.
> >
> > <cfset thisThumb = """" & #qry_getProductsBySubcategory.PhotoThumb# & """">
> >
> > Speaking of hash marks, the ones you have there aren't really necessary.
> 
> 
> >
> >
> > Seona Bellamy wrote:
> >
> > >Hi guys,
> > >
> > >It's Friday. Brain's mush. I currently have the following:
> > >
> > ><cfset thisThumb = "'" & #qry_getProductsBySubcategory.PhotoThumb# & "'">
> > >
> > >Instead of surrounding the variable's content with single quotes, I want to
> > >surround it with double quotes. How do I do that? I know there's a way of
> > >escaping the " so that it doesn't get processed, but I can't work it out.
> > >
> > >Can I go home now?
> > >
> > >Cheers,
> > >
> > >Seona.
> > >
> > >
> > 
> > --
> > Lindsay Evans,
> > Interface Developer, Red Square Productions
> > http://redsquare.com.au/
> >
> >
> >
> > ---
> > You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> 
> 
> > To unsubscribe send a blank email to
> > [EMAIL PROTECTED]
> > Aussie Macromedia Developers: http://lists.daemon.com.au/
> >
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
>

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to