Add a "Linebreak" in a .txt when there is a linebreak in txt
Posted: Tue Nov 08, 2011 1:01 pm
Hey,
Sorry for the long header.
My problem is as following.
I get the content of a .txt file with this code:
The .txt file got multiple rows with information and this method of getting the content draws
all and adds it to a single row of output.
I want it to draw the information as multiple rows and echo it out as multiple rows.
I hope I make sense.
Regards,
Thomas
Sorry for the long header.
My problem is as following.
I get the content of a .txt file with this code:
Code: Select all
$file = file_get_contents('./x.txt', true);all and adds it to a single row of output.
I want it to draw the information as multiple rows and echo it out as multiple rows.
I hope I make sense.
Regards,
Thomas