刀片模板中的Laravel嵌套循环

I am building a futsal league website where fixtures and results are to be displayed. The Result Model is like this

class Result extends Model {

//
protected $fillable = ['team_1', 'team_2', 'goals_1', 'goals_2', 'date', 'mom'];

}

Is there a way that I can loop through this data in blade and group by date?

Thanks in advance

查看全部
doudang1890
doudang1890
2016/07/14 16:31
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复