Gilbert Midonnet wrote:

> As part of trying to solve a larger problem I would like to put a lot (100+
> lines) of html and cold fusion code (<CFLOOPS> etc... no SQL) into a string.
> 
> Two questions.
> 
> 1. what's the best way of dealing with this?
> 
> <CFSET var1="<html><head>">


cfsavecontent or if you don't have cf 5 one of the customtags from the 
taggallery that does the same.


> 2. Should I be trying this at all? :>  


Depends on objective and circumstances. Just remember you can't execute 
any CFML once it is in the string.

Jochem


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to