I think your best option would be to split the data in your code then make the tables.
Something like this,
// grouped data
$data = [
6 => [
[6, 'abc', 'abc', 'abc' , 'abc'],
...
],
8 => [
[8, 'abc', 'abc', 'abc' , 'abc'],
...
]
]
// blade table
@foreach($data as $key => $rows)
@foreach($data as $key => $row)
// make table with the row array which should be the grouped by semester data
@foreach
@endforeach
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community