Thanks philip. I appreciate it.
--- Philip Arnold - ASP <[EMAIL PROTECTED]> wrote:
> > I would appreciate your help on the following
> question.
> > Is there a way to parse text containing CF tags
> without
> > the tag being interpreted by the server?
> > What I am trying to do is generate a query
> dynamically
> > by writting it to a text file. Then read the query
> > from the text to a variable to include it in to a
> cfm
> > template to do the database query.
> > While at it, you can give me a suggestion if there
> is
> > any other better way of doing the dynamic query
> > generation instead of witting it first to a text
> file.
> 
> CF won't evaluate tags from a variable - it can
> evaluate the contents of a
> tag (or parameters of tags) from variables
> 
> If it's only a query, then you could quite happily;
> <cfquery
>
datasource="myDSN">#PreserveSingleQuotes(mySQL)#</cfquery>
> 
> It's only if there are tags around it that become
> dynamic, then I'd say to
> put them in CFIFs rather than write to a file, and
> hope the OS has written
> it by the time you CFInclude it
> 
> Philip Arnold
> Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> T: +44 (0)20 8680 1133
> 
> "Websites for the real world"
> 
>
**********************************************************************
> This email and any files transmitted with it are
> confidential and
> intended solely for the use of the individual or
> entity to whom they
> are addressed. If you have received this email in
> error please notify
> the system manager.
>
**********************************************************************
> 
> 
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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