RE: Writing cfml content to an html file

2010-10-21 Thread Rick Sanders
Robert Harrison [mailto:rob...@austin-williams.com] Sent: Thursday, October 21, 2010 11:33 AM To: cf-talk Subject: RE: Writing cfml content to an html file Break this down into steps. 1. Get you code and queries correct to the can generate output to the screen 2. Then move that code inside a saveconten

RE: Writing cfml content to an html file

2010-10-21 Thread Rick Sanders
Sorry, I am writing to a cfm file. I tried escaping the # with ##variable## and it still throws the same error. -Original Message- From: John M Bliss [mailto:bliss.j...@gmail.com] Sent: Thursday, October 21, 2010 11:31 AM To: cf-talk Subject: Re: Writing cfml content to an html file

RE: Writing cfml content to an html file

2010-10-21 Thread Robert Harrison
Break this down into steps. 1. Get you code and queries correct to the can generate output to the screen 2. Then move that code inside a savecontent tag and write the content to a variable MY CODE TO MAKE THE OUTPUT HERE 3. Then write the variable content to a file: That sho

Re: Writing cfml content to an html file

2010-10-21 Thread John M Bliss
Right. Also, if you use cffile to write CFML to a file, then the file you're writing to should be a .cfm file (unless you have your server configured to pass .htm files to the CF server). On Thu, Oct 21, 2010 at 9:27 AM, Andy Matthews wrote: > > You shouldn't have any problems writing CFML code

RE: Writing cfml content to an html file

2010-10-21 Thread Andy Matthews
You shouldn't have any problems writing CFML code to a page. The error you're getting is likely from your hashmarks not being escaped. andy -Original Message- From: Rick Sanders [mailto:c...@webenergy.ca] Sent: Thursday, October 21, 2010 9:23 AM To: cf-talk Subject: Writing cfml conte