Friday, 9 August 2013

creating a new line within an excel cell with php

creating a new line within an excel cell with php

Is there any way to create with PHP when writing to CSV file a new line
within the same cell. (Manually its ALT + ENTER)
i manually did it and then open the file with notepad ++ and selected the
show all characters option in the view tab in order to help me understand.
I found out that every time i had a new line within the same cell i had an
LF whilst the normal new line out side the cell was CRLF, i tried
replacing the CR with "" in php to try and replicate what i saw but that
didn't work.
So i am asking for your help . Thank you.

No comments:

Post a Comment