I want print a text file in my php code but it give me the output without multiple lines! think my txt file is this: ( name = doc.txt )
hello guys!
we are here
Lemon is with You!
now my code is:
<?php
$myfile = fopen("doc.txt", "r") or die("Unable to open file!");
echo fread($myfile, 100);
fclose($myfile);
?>
now my problem is my output:
hello guys! we are here Lemon is with You!
I want it in multiple lines! how?