I\'ve got a blade view (Laravel 5) that lists all products this way:
@foreach($products as $p) 5条回答 无人及你 (楼主) 2020-12-18 13:07 If it were me, I would use a count for the row. "; }?> {{ $p->name }} {{ $p->details }} "; } $count++; } if ($count%3 != 1) echo "";?> 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
If it were me, I would use a count for the row.
"; }?> {{ $p->name }} {{ $p->details }} "; } $count++; } if ($count%3 != 1) echo "
{{ $p->details }}