how to put a line break in a php string code example Example: php new line echo "\n"; # it only works in double quotes