php输出textarea数据,入库没有处理的

str_replace("\r\n","<br />",$xmactivity['xmdetail'])

导出excel换行方法

str_replace("\r\n","<br />",$v['sidan_remark'])