PHP nl2br() Function
what is the syntax of the function in php? Parameter Description string Required. Specifies the string to check xhtml Optional. A boolean value that indicates whether or not to use XHTML compatible line breaks:TRUE- Default. Inserts <br />FALSE – Inserts <br> PHP nl2br() method examples of the NL2BR() function Example 1. In this example, we …