php hapus enter dari string
$_result = trim(preg_replace('/\s+/', ' ', $original_text));
Ivan The Terrible
$_result = trim(preg_replace('/\s+/', ' ', $original_text));