nl2br
Description
string nl2br ( string string )
Returns string
with '<br />' inserted
before all newlines.
Notatka: Starting with PHP 4.0.5, nl2br() is now XHTML compliant. All versions before 4.0.5 will return
string
with '<br>' inserted before newlines instead of '<br />'.
See also htmlspecialchars(), htmlentities(), wordwrap(), and str_replace().