SyntaxFix
Write A Post
Hire A Developer
Questions
nl2br() worked for me, but I needed to wrap the variable with double quotes:
This works:
$description = nl2br("$description");
This doesn't work:
$description = nl2br($description);