Hapus Line Breaks PJP

preg_replace( "/\r|\n/", "", $yourString );
Nice Nightingale