1.

What Is Nl2br() ?

Answer»

nl2br() function INSERTS HTML line breaks before each newline in a STRING.

For EXAMPLE nl2br(“How are you”) will return strings added with HTML line breaks before all new LINES in a string, and the output will be like:

How
are
you

nl2br() function inserts HTML line breaks before each newline in a string.

For example nl2br(“How are you”) will return strings added with HTML line breaks before all new lines in a string, and the output will be like:

How
are
you



Discussion

No Comment Found