Welcome Guest, Not a member yet? Register   Sign In
Limit on rows
#5

[eluser]Dam1an[/eluser]
you could always just make the table yourself
Have a foreach look over the db results, and have a counter as well
If the counter modulo 5 is 0, start a new row and carry on as normal

Something like
Code:
$i = 0;
foreach($images as $image) {
  if($i % 5 == 0) {
    // end table row and start new one
  }
  $i++;
  
  // print the cell with image and anchor
}


Messages In This Thread
Limit on rows - by El Forum - 05-09-2009, 02:22 PM
Limit on rows - by El Forum - 05-09-2009, 02:34 PM
Limit on rows - by El Forum - 05-09-2009, 03:12 PM
Limit on rows - by El Forum - 05-09-2009, 03:51 PM
Limit on rows - by El Forum - 05-09-2009, 04:07 PM
Limit on rows - by El Forum - 05-10-2009, 03:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB