Published on : August 12, 2020
Title:php.nl2br
Purpose: Insert line breaks where newlines (\n) occur in the string
Syntax:[php.nl2br p1=”One line.\nAnother line.” o.set=template.nlstr /]
Input Parameter
:p1: String
Return Value: Returns the converted string
Example[php.nl2br p1=”One line.\nAnother line.” o.set=template.nlstr /]