+ 1
how print the "\n" in php ???
can any one say me how print the "\n" only in php
2 Réponses
+ 1
\n makes one white space character .
if you want to use" \n" which means new line , you can use the Break Tag " <br> "
0
PHP_EOL is used to break that line and go to a new one. Depending on which OS your PHP is running on, PHP_EOL will output \n, \r\n. PHP_EOL stands for End Of Line. Use \\n to print \n to the console.