Try this:

<cfset variables.left = "<">
<cfset variables.right = ">">

<cffile...>
#variables.left#cfset id = myquery.id#variables.right#
#variables.left#cfinclude template="../mypage.cfm"#variables.right#
</cffile>

Paul Giesenhagen
QuillDesign

  ----- Original Message -----
  From: Ketan Patel
  To: CF-Talk
  Sent: Monday, December 22, 2003 9:30 AM
  Subject: write a file using CFFILE with CF tags in it

  Hi,
  I want to write a file with following 2 cf tags in it

  <cfset id = #myquery.id#>
  <cfinclude template="../mypage.cfm">

  <cffile action="" mode="777" file="#Trim(Lcase(myquery.name))#.cfm"
  output="

  <cfset id = #myquery.id#>
  <cfinclude template="../mypage.cfm">

  " addnewline="no">

  I am getting an error.

  Ketan Patel
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to