displaying a text file line by line
Hi
basically i have a log file I want to display on my webpage. I thought between lines it's just a new line on linux and a carriage return and newline on windows. Therefore my delimiter is the LF character right? then why doesn't this work
$data = explode('\n',$data); Am using linux so it's just a line feed.
