PHP function converts new line to BR tag | ||
| ||
| PHP provides speedy converting function for supporting that. Following function is very useful. Proto-type: function nl2br( <source string> ) As you can expect by function name, it converts new line character set to <BR> tag. Example) . . . $buf = nl2br( $source_string); echo $buf; | ||
| | ||
| |