Welcome Guest, Not a member yet? Register   Sign In
loop div in codeignighter
#1

how to get div in a loop..

i want first row 3 items and it comes to down then 3 items and same....like grid wise..please help 


foreach ($list as $key => $value) {
 if($l==3){
break;
}


for($j=0;$j<=$l;$j++)
{


?>



<div class="col-md-3" style="text-align:center">
contents........
</div>


<?php

}
}?>
Reply


Messages In This Thread
loop div in codeignighter - by adithyakalmane - 12-24-2015, 12:22 AM
RE: loop div in codeignighter - by InsiteFX - 12-24-2015, 04:48 AM
RE: loop div in codeignighter - by suhindra - 12-24-2015, 10:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB