Let's say I have the following text file:
- This is the first line of the text file.
- This is the second line,
- and here goes the third.
When using
echo file_get_contents($_SERVER{'DOCUMENT_ROOT'} . "/file.txt");
The output is
This is the first line of the text file. This is the second line, and here goes the third.
How do I prevent the layout from changing?
Thanks in advance :-)