ph string new line code example
Example 1: php new line
echo "\n";
# it only works in double quotes
Example 2: php new line
return nl2br("This is the cointracker sample text.\nThis should be line 2!");
echo "\n";
# it only works in double quotes
return nl2br("This is the cointracker sample text.\nThis should be line 2!");