Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
関数 nl2br のような結果を使用すると、 /r /n が表示されます
例:
私が書いたテキストエリアに
Hello, how are you?, fine
php
echo nl2br($_POST['message']);
画面への結果
\r\nHello, \r\nhow are you? \r\nfin
どうすれば修正できますか?ありがとうございました