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.
PHP ページに渡される行で区切られた単語のテキスト領域があり、単語を配列に分割してから、各単語を新しい行に出力したいと考えています。
どうすればいいですか?次のコードは正しいですか?うまくいかないようです!
<?php $words = $_POST["words"]; $arr = explode("\n",$words); ?>