Hi, Hi.. i have an associative array with the n number of values of which one array name is location id.If location ID is having the same value in all the inner arrays i want to combine the results of the array ie having the same value.Any one knows solution for this.The purpose is like if the count is same and location id present are two 1's and one 2's then the corresponding values in 1's should be appended?how can i do this?
@xenon2010 array_unique doesn't append anything @Gins Babu, we need more details, for example, two sample arrays like: array ( blabla => test blablabla1 => hello ) and array ( hey => hihi bye = byehey blabla => joinme ) and the end result of the merging, something like: array ( hey => hihi bye = byehey blabla => testjoinme blablabla1 => hello ) Not sure if this is what you're trying to say, but I'll wait until you reply to give you an answer.