How to output a value on every third result of a foreach statement in php?

前端 未结 11 1718
醉话见心
醉话见心 2021-01-04 13:37

I have a foreach statement in my app that echos a list of my database results:



        
11条回答
  •  孤城傲影
    2021-01-04 14:03

    ';
        echo $fp['project_name'];
        echo '
    '; } ?>

提交回复
热议问题