PHP中替换textarea时的回车换行

$a = preg_replace("/[\r\n]+/", ',', $a);

替换textarea时的回车换行方法

posted @ 2012-05-11 17:08  博尔特希  阅读(456)  评论(0编辑  收藏  举报