Need syntax for str_replace to replace line breaks in a text file with <BR>
I'm using a Linux machine as a server and I'm reading a log file in, I want to display this as a web page, with proper formatting. I have everything working except for the line breaks, can someone tell me the syntax to use. Thanks a lot.
Jewel
I'm using a Linux machine as a server and I'm reading a log file in, I want to display this as a web page, with proper formatting. I have everything working except for the line breaks, can someone tell me the syntax to use. Thanks a lot.
Jewel