$line-out = str_replace('\r', '', str_replace('\n', '', $line-in));
The above works for me but, I saw a [\n\r] example somewhere and I cannot seem to find it.
I just want to get rid any blank lines. The above is in a foreach loop.
Thanks for teaching.