What is meant by nl2br()? | PHP Questions

nl2br() inserts a HTML tag <br> before all new line characters \n in a string.
echo nl2br("god bless \n you");
output:
god bless<br>
you

0 comments:

Post a Comment

Blogger news