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/

Reply via email to