(PHP 3, PHP 4 )
string nl2br (string string)
string nl2br
Returns string with '<br />' inserted before all newlines.
Until PHP 4.0.5, nl2br() will return string with '<br>' inserted before all newlines.
See also htmlspecialchars(), htmlentities() and wordwrap().