title: escaping slashes using php
body: <p>I am trying to remove the escape sequences present in between my output. I am coding using php and I have output from the function and it contains escape sequences like <code>\r</code> and <code>\n</code>. How do I escape these stuff from output so that I get a proper output. The issue is that I am trying to add this output to a csv file, so it will take <code>\n</code> as next line.</p>