Usuń linię pęka PJP
preg_replace( "/\r|\n/", "", $yourString );
Nice Nightingale
preg_replace( "/\r|\n/", "", $yourString );