What is meant by nl2br()?
By admin on Apr 7, 2007 in PHP Interview Questions
nl2br inserts a HTML line break tag before each new line character “\n” in a string.
For example: echo nl2br(”god bless\n you”) will output “god bless \n you” to your browser.


