Question

I'm having an issue, which seems like a bug, whereby if I download a CSV that I've created it seems to leave 12 empty spaces on the top of the file before filling in the content I want in there.

Is this just a general bug?

I'm using Codeigniter 2.1.3

Thanks Guys

No correct solution

OTHER TIPS

I just had this same issue. When I looked through my code I was calling in a model that had a closing ?> tag, and for some weird reason, that created the extra space. Look to see if you have any closing php tags.

i had the issue too. But i solve it not related to closing ?>, but space in the beginning of php file. use tools such as winHex to open related php files, look if the file start with a space(in Hex it's 20), remove it, and the problem had solved.

sorry for my poor english.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top