If I want to use echo to output<br/>, how should I write it? Now it's not a line break when writing, I just want it to be displayed
李龙
李龙 2018-04-30 02:02:14
0
6
2427

echo “</br>”

李龙
李龙

reply all(6)
NULL

Output to the web page echo "<br />";

Output to the console echo "\r\n";

猪哥


echo '我是上一行';
echo '<br />'; 
echo '我是下一行';

1.png

No line breaks? ? ? ?

一笑而过

echo '<pre>' -----Original format output,                                                                                                                                                                                                                                                 . ##

麻狼

echo '<br />';

That's it. Is there any problem?

But please note that you may want to increase the line spacing. Under normal circumstances, you do not use this method. You need to know your logic.

  • reply No, test it yourself
    李龙 author 2018-05-01 09:37:34
东子

Like this

echo '</br>';


  • reply No, I tested it
    李龙 author 2018-05-01 09:37:02
意志被模仿,从未被摧毁

Hello, do you think this tool is useful?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template