hi all,
i have two three dimensional array like this
$array1 =Array
(
[0]= array
(
[0]=array
(
[name]= praveen
[id] = 20
)
[1]=array
(
[name]= kumar
[id] = 25
)
)
)
$array2 =Array
(
[0]= array
(
[0]=array
(
[name]= pandu
[id] = 21
)
[1]=array
(
[name]= praveen
[id] = 30
)
)
)
i want to merge these arrays such that i will get an array like this
$merged= array
(
[0]= array
(
[praveen]=array
(
[id1]= 20
[id2] = 30
)
[pandu]=array
(
[id] = 21
)
[kumar]=array
(
[id] = 25
)
)
)
i tried this a lot but not getting it right...if someone solves it will be great :)