Page 1 of 1

loop

Posted: Mon Mar 30, 2009 12:17 am
by bharathv
Hello guys
i wanted the code to send a chunk of data to the function.
i.e. i have a data set $data[0-1263][0-3] and i want to divide this in to chunks of 50 and send it
i.e. $chunk1[0-50][0-3]
$chunk2[51-100][0-3]



thank u in advance

Re: loop

Posted: Mon Mar 30, 2009 12:30 am
by requinix
Try the array_chunk function.