2020-06-10 PHP 1 分钟阅读 423 次阅读 tp5.1 nl2br使用 tp5.1中模板使用{$str|nl2br}调用nl2br不好用,直接显示<br /> 使用如下方式则可以: {php} echo nl2br($str);{/php}
评论 (0)