What is the use of nl2br() in PHP?
It is used to inserts HTML line breaks ( <br /> or <br /> ) in front of each newline (\n) in a string.
BY Best Interview Question ON 25 Jan 2019
It is used to inserts HTML line breaks ( <br /> or <br /> ) in front of each newline (\n) in a string.