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