I'm having a rather annoying problem - I'm trying to create a
file through cffile - the contents need to be dynamic so there is a
loop and a few conditions attached. I can't seem to get the CF
running inside the cffile tag and for it to write the results as
plain text inside that file.
This code needs to be processed and then written to the file
in it's altered state.
You can't do an assignment like this. I'm not even sure where
on this. What you need to do is build a string and then write
string to a file with the cffile attribute. I would look into
<cfsavecontent...> tag and|or string concactination.
Save Content Example
TEXT and CFML that produces Text