doudang1890
2016-07-14 16:31刀片模板中的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
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 刀片模板中的Laravel嵌套循环
- php
- 1个回答