$str=preg_replace("/\[(.+?)\]/i","",$field_thread[lrc_msg]);
$field_thread[lrc]=preg_replace("/(\r?\n)+/","<br />",$str);
$field_thread[lrc]=preg_replace("/(\r?\n)+/","<br />",$str);
调试欢乐多
$field_thread[lrc]=preg_replace("/(\r?\n)+/","\r\n",$str);$str=preg_replace("/\[(.+?)\]/i","",$field_thread[lrc_msg]);
$field_thread[lrc]=preg_replace("/(\r?\n)+/","<br />\r\n",$str);不知道你要的是什么。<br>不就是换行吗?
$field_thread[lrc]=preg_replace("/(\r?\n)+/","<br /><br />",$str);$str=preg_replace("/\[(.+?)\]/i","",$field_thread[lrc_msg]);
$field_thread[lrc]=preg_replace("/(\r?\n)+/","\r\n\r\n",$str);你挑一个吧。