If I want to use echo to output
, 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
2361

echo “

李龙
李龙

reply all (6)
NULL

Output to the web page echo "
";

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

    猪哥


    echo '我是上一行'; echo '
    '; echo '我是下一行';

    1.png

    No line breaks? ? ? ?

      一笑而过

      echo '

      ' -----Original format output, . ##

        麻狼

        echo '
        ';

        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 '
        ';


        • 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
          About us Disclaimer Sitemap
          php.cn:Public welfare online PHP training,Help PHP learners grow quickly!