linebreaks in html to php convert code example
Example 1: nl2br() php
// add to the functions file
function translateLineBreaks($string) {
$result = nl2br ($string);
return $result;
}
Example 2: adding a line to html php
echo "kings \n garden";