SyntaxFix
Write A Post
Hire A Developer
Questions
$no_newlines = str_replace("\r", '', str_replace("\n", '', $str_with_newlines));