1// add to the functions file
2function translateLineBreaks($string) {
3 $result = nl2br ($string);
4 return $result;
5}
1// When you run a PHP script in a browser, it will be rendered as HTML by default.
2// Use <br /> instead or modify the header to content type plain text
3echo "Hello <br /> World";