Home  >  Article  >  Backend Development  >  textarea换行,该怎么处理

textarea换行,该怎么处理

WBOY
WBOYOriginal
2016-06-13 12:07:09954browse

textarea换行
textarea里的内容怎么输入的时候根据输入时的格式换行
------解决思路----------------------
你问的是显示的时候吧?nl2br()

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn