📜  nl2br 不适用于 php 代码示例中的数据库

📅  最后修改于: 2022-03-11 14:54:25.333000             🧑  作者: Mango

代码示例1
$comments = stripcslashes($row["comments"]);

$commentsWithBreaks = nl2br($comments);

echo $commentsWithBreaks;