Hi, If its pattern based splitting array can be done using split()
http://www.phpdig.net/ref/rn53re1094.html Hope this helps. Regards, Vikram. On 4/28/07, gv <[EMAIL PROTECTED]> wrote: > > Hi, > > Can any one know how to split one array into multilple arrays like > > $array0 = array(1 => 1, 2, 3, 4, 7, 8, 9, 10, 15, 16, 17, 18, 22, 23, 24, > 25, 27); > > i have to split the above array in to multiple arrays like; > > $array1 = array(1 => 1,2,3,4); > $array2 = array(1 => 7,8,9,10); > $array3 = array(1 => 15,16,17,18); > $array4 = array(1 => 22,23,24,25); > $array5 = array(1 => 27); > > the break should occur where exactly the net no is missing. in fact i have > to group the no like above. > > can any one help me. > > thanks in advance. > > gv..

