php输出整个金字塔练习
大家讲道理
大家讲道理 2017-05-16 13:01:08
0
3
557
'; } ?>

请各位老师指点,为什么显示下面的效果:

检查了多次,找不出原因,请老师指教,多谢!

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (3)
滿天的星座

Mine is the whole thing. What did you test it on?

    Peter_Zhu

    The logic of your code is correct, but the use of in the display takes up two ** characters, so it does not look like a pyramid. This may be related to the software problem you are debugging.

      为情所困

      After inserting the codeecho " "; 改写成 echo " ";, test it in each browser to display the entire pyramid.
      Thank you teachers for your guidance, thank you very much!

        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!