I want a dynamic number of rows in a table like this.
number name
1 Devy
This my Blade template.
<thead>
<th>number</th>
<th>name</th>
</thead>
<tbody>
@foreach ($aaa as $value)
<tr>
<td></td>
<td>{{$value->name}}</td>
</tr>
@endforeach
</tbody>
How do I do that?