PHP Remove new lines
Rename new lines from a string
function remove_new_lines($string)
{
return preg_replace('/\s\s+/', ' ', $string);
}
function remove_new_lines($string)
{
return preg_replace('/\s\s+/', ' ', $string);
}