mysql - To get grid in slider dynamically in php -
i have write these script in made grids dynamically according database value. grids in 1 slide. want 3 grids in 1 slide, dynamically. 3 grid in each slide. help?
<div class="carousel-reviews broun-block"> <div class="row"> <div id="carousel-reviews" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <?php foreach($hello $i=>$review) {?> <div class="item active"> <div class="col-md-4 col-sm-6"> <div class="caption"> <p class="text-info lead adjust2"><?php echo $review\['testimonial'\];?></p> <p><span class="glyphicon glyphicon-minus"></span><?php echo $review\['name'\];?></p> </div> </div> </div> <?php } ?> </div> </div> </div> </div>
Comments
Post a Comment