我有以下文本需要在每个段落之间添加
因此,这样 -
<br>
标签,并删除所有换行符。我该如何在PHP中实现这一点?谢谢。因此,这样 -
This is some text
for which I would
like to remove
the line breaks.
And I would also
like to place
a b> tag after
every paragraph.
Here is one more
paragraph.
Would become this -
This is some text for which I would like to remove the line breaks.<br/> And I would also like to place a br tag after every paragraph. <br> Here is one more paragraph.
注意:忽略任何字母的高亮显示。
br
标签吗? - salathe