+ 10
How to insert a line break in php?
can I insert a line break in php language.
7 Respuestas
+ 3
not working
+ 4
1 - with a html Tag like this :
echo '<br>' ;
or
2 - without html Tag like this :
echo '\n';
+ 1
The new line character is \n
+ 1
\n in php or br in html
+ 1
\n in php and <br>
0
Yes you can insert a line break in PHP as
Echo "<br>";
0
PHP_EOL PHP end of line