This function converts each newline (\n) in a string into an HTML line break (<br>). This is particularly useful if you want to display text with line breaks on a web page, as HTML by default ignores line breaks.
This function converts each newline (\n) in a string into an HTML line break (<br>). This is particularly useful if you want to display text with line breaks on a web page, as HTML by default ignores line breaks.