How can I read a .txt file from my server, and preserve it’s linebreaks?
Note that the linebreaks aren’t like this /n or something, they are more like
this. You know, just a new line in plain text.
I would like to echo the .txt file from my server, this is in PHP or something, while preserving the linebreaks.
Thanks a heck in advance ! 🙂
For output? Just use
nl2brAlso works with
fopen.