黒の新しい行を
There is a pleasure in the pathless woods,
There is a rapture on the lonely shore,
There is society, where none intrudes.
され削除しますText
は、私はそれが
By the deep Sea, and music in its roar:
I love not Man the less, but Nature more,
From these our interviews, in which I steal
です
By the deep Sea, and music in its roar:
I love not Man the less, but Nature more,
From these our interviews, in which I steal
どのように私はそれをPHPで達成できますか?あなたはまた、この
str_replace(array("\n", "\r"), '', $text);
あなたが入力ではなく出力にエスケープしている何らかの理由でstr_replaceを使用することができます
可能な重複[?私はPHPでのテキストから空白行を削除するにはどうすればよいです] (http://stackoverflow.com/questions/709669/how-do-i-remove-blank-lines-from-text-in-php) – Script47
私はそれをしたが、うまくいかなかった。@ Script47 –
あなたのhtml出力 – Takarii