People, I have a template that has the following:
<div class="row">
<!-- INICIO -->
<div class="col-md-4">
Aqui vem uma imagem e o nome de um imóvel
</div>
</div>
<!-- FIM -->
I'm looking for some real estate from the database, using laravel, but it could be any other framework.
I need to make a foreach, so I go through all the buildings and every 3 buildings I skip a line (create a new row) and insert each property into a column.
How can I do this foreach?
I'm very sure.
Thank you.