Answer the question
In order to leave comments, you need to log in
How to properly display data from database in Laravel?
There is an array with a collection of products. How to display correctly in the template if they alternate like this in the layout:
<div content>
<div c1>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
</div c1>
<div c1>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
</div c1>
<div c1>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
<div c2>"Название продута</div>
</div c1>
</div content>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question