Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
280 views
in Technique[技术] by (71.8m points)

thinkphp的循环问题

clipboard.png

我想取到

clipboard.png

这个time,不知道该什么循环出来,大神们帮帮忙谢谢


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
<?php

foreach($result['result']['list'] as $item)
{
       foreach($item as $value)
       {
            foreach($value['tr'] as $row){
            
                //这里就可以拿到time
                echo $row['time']
            }
       }
        

}



与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...