PHP PHP nl2br() 函数 在字符串中的新行(\n)之前插入换行符: echo nl2br(“One line.\nAnother line.”); PS:textarea 可解决表单换行显示问题 2017年4月9日