Javascript debugger Website design ↑
Returns string with '<br />' inserted before all newlines.
The input string.
Returns the altered string.
<?php echo nl2br("foo isn't\n bar"); ?>
The above example will output:
foo isn't<br /> bar
Javascript debugger Website design