I have a loop that brings 12 images or more. Being that the presentation of these images should follow the following layout:
So,assoonas"next" is pressed a new block will appear with 6 more items following the order: 7, 8, 9, 10, 11,
The big problem I face is only in the presentation of these two lines that I can not get because of some logic problem in my loop .
<div class="col-md-8">
<ul>
<div id="owl-programacao" >
foreach ($listas $key => $itens) { ?>
<li><img src="$itens['src']"></li>
<?php } ?>
</div>
</ul>
</div>
$("#owl-programacao").owlCarousel({
items:6,
navigation: true
});
The result of the above script is only the presentation of a single line with 6 items, a common carousel.