nl2br
nl2br — Inserts HTML line breaks before all newlines in a string
nl2br ( string $string [, bool $is_xhtml = TRUE ] ) : string
Returns string with <br /> or <br> inserted before all newlines (\r\n, \n\r, \n and \r).
Confused by DNS? Check out DNS Basics Explained eBook — a practical guide for website owners and freelancers.
nl2br — Inserts HTML line breaks before all newlines in a string
nl2br ( string $string [, bool $is_xhtml = TRUE ] ) : string
Returns string with <br /> or <br> inserted before all newlines (\r\n, \n\r, \n and \r).