mysql - To get grid in slider dynamically in php -


img

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

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -