Ruslan,

I'm not sure what you're aiming for here.  How will you use myhtml later?
If you plan to use it to include bits of HTML within other pages, I would
put the HTML in a separate file and do a CFINCLUDE wherever you want to
insert it.  Does that do what you want?

Hope this helps,
Matthieu

> -----Original Message-----
> From: Ruslan Sivak [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 17, 2001 12:03 PM
> To: CF-Talk
> Subject: setting multi line strings
> 
> 
> Is there a way to set multi line strings in CF.  For example 
> I have a piece
> of html and i want to set it to a variable. Something like this
> 
> <CFSET myhtml="
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> 
> <html>
> <head>
>       <title>Untitled</title>
> </head>
> 
> <body>
> 
> 
> 
> </body>
> </html>">
> 
> Is there a way to accomplish this?
> 
> Ruslan Sivak
> Technologist
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to