1
Good evening everyone, I need help with the following code snippet and a photo gallery and I need 9-in-9 photo pagination I’ve tried everything and I can’t if you can help me there
<!DOCTYPE html>
<body>
<?php include("header.php");?>
<div class="bg-image">
<div class="overlay-bg">
<div class="main-content">
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="menu-container">
<div class="col-md-12" align="center">
<div class="dropdown btn btn-danger">
<a href="\index.php" style="color:#ffffff"><b>INÍCIO</b></a>
</div>
<div id="menu-1" class="homepage" style="margin-top:50px;">
<div class="row">
<?php for ($i=1; $i <= 2; $i++) { ?>
<div class="col-md-4 col-sm-6 col-xs-6">
<div class="portfolio-item">
<div class="overlay">
<a href="images/gallery/fruteira/<?php echo$i; ?>.jpg" data-rel="lightbox">
<i class="fa fa-expand"></i>
</a>
<button type="button" class="btn btn-danger" data-toggle="modal" data-target="#exampleModalLong<?php echo$i?>" style="color:red;">Preços</button>
</div>
<img src="images/gallery/fruteira/<?php echo$i; ?>.jpg" alt="Image 9">
</div>
</div>
<?php } ?>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include("footer.php"); ?>
</div>
</div>
</div>
</div>
</body>
</html>
see in the answer the second example
– user60252