I\'ve tried about everything to delete some extra \\n characters in a web application I\'m working with. I was hoping someone has encountered this issue before
\\n
In php, use str_replace(array('\r','\n'), '', $string).
str_replace(array('\r','\n'), '', $string)
I guess the problem is you also have \r's in your code (carriage returns, also displayed as newlines).
\r