Your Ad Here

Saturday, November 7, 2009

What is meant by nl2br()?

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

No comments:

Post a Comment

Your Ad Here