could anyone take a look at this for me?
Problem: trying to output a csv on demand using Zend Framework. I want to avoid creating files on the system so I'm trying to use the开发者_Go百科 same solution posted here:
export csv in zend framework
However - I'm getting 3 blank lines in the csv (and in any HTML source when viewed). I'm setting layouts in the ini file. I've tried putting the csv call earlier in the request cycle using preDispatch etc - but to no avail.
Any help is greatly appreciated SWK
Problem solved: (my apologies, this is quite frequent - it's like when you ask someone to come over to your desk to check your bug, and everything mysteriously works....)
I was closing php tags in a front controller plugin,thus generating new lines.
精彩评论