Everytime i copy data from array to mutable array, the previous content in the mutable array is lost.
This is my code.
for (i=0;i<k;i++)
{
o=[[marray objectAtIndex:i]valueForKey:@"district_id"];
j= [o isEqualToString:oo];
if (j==1)
{
dummymarray = [marray objectAtIndex:i];
}
}