Jump to content

Grouping sql results


Samuz

Recommended Posts

How would I group a bunch of arrays into groups of 10 or so.

 

Let's say I had 100 results all being returned in their own array.

 

What would I do to get 10 groups of 10 (in the situation i'm grouping in groups of 10) or get 5 groups of 20 (in the situation i'm grouping in groups of 20)

 

I'm mainly looking for a logical idea of how i'd go about this, help much appreciated. :)

Link to comment
https://forums.phpfreaks.com/topic/263784-grouping-sql-results/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.