nl2br(htmlspecialchars(...
ユーザーが入力した MySQL データを表示するように実装しました。迷惑な投稿が散らばっている
を知る前からのタグnl2br
。MySQL をスキャンして (私は php myAdmin を使用しています)、<p>
nl2br が取得するリターン キー エントリに置き換える簡単な方法はありますか? しかありません
列の 1 つのタグ。ありがとう
編集:例
...d the wood on the front car is cracked - it has stood the test of time very well.
<p>
For such an ancient coaster, it affords a surprisingly good ride – this relic can still deliver..
そのため、<p>
削除して空の行だけに置き換える必要があります