Hi friends,
I have array as follows
array (A => 1)
array (A => 1, B=>2)
array (A => 1, B=>2, C=>3)
array (A => 1, D=>4)
array (A => 1, E=>5)
array (A => 1, F=>6)
array (A => 1, F=>6, G=>8)
array (A => 1, F=>6, H=>9)
array (X => 11)
array (X => 11, Y=22)
array (X => 11, Z=33)
I need to form array as follows
array(A=>array(B=>2, C=>3, D=>4, E=>5, F=>array(G=>8,H=>9))
X=>array(Y=>22, Z=>33)