View Single Post
Old 02-26-2008, 11:47 PM   #6 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Use a query to fetch the data already ordered, put all that data into one big array, then use array_slice to "cut" the big array into 4 pieces...this is a less trickier way to achieve what I believe you want to achieve. There are other ways, but I'm too tired to come up with a more efficient solution right now...
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote