> Gents and Ladies...
>
> I am having a right old headache generating a CSV file from data in a
> database.
>
> The data is all returned fine, but at the end of every file there are seven
> blank fields, no matter what data is contained.
> I'm pulling my hair out trying to find out why these seven lines are
> added... I use almost identical code in another app, and it never returns
> any garbage!
>
> Anyone had this or know why this is happening?
>
> <CFHEADER NAME="Content-Disposition" VALUE="inline;
> filename=#dateformat(now(), "yyyymmdd")#_#timeformat(now(), "HHmm")#.csv">
> <CFCONTENT TYPE="application/unknown"><cfoutput>"CONTACT ID","SET NAME","SET
> LABEL","DATA"#chr(13)#</cfoutput><CFOUTPUT
> QUERY="get_all">"#contact_id#","#set_name#","#item_label#","#item_data#"#chr
> (13)#</CFOUTPUT>
>
>
> -------------------------------------------------------
> Rich Wild
> Senior Web Designer
>
I had the same problem until I eliminated all blank lines in the cfm after the
CFOUTPUT. Also, no </body> or </html> tags.
tom
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.