I have a merged array above and I want to combine duplicate urls and increase the score when duplicates are found. So the above would consist of two results, with (URL address blocked: See forum rules) having a score in [2] of 41.

foreach($array_two as $value) //loop over the merged array { if(isset ($deduplicate[$n])) //getting lost- this is supposed to be array[1] on second iteration array[2] on second etc, with $n being a counter so it loops through. deduplicate[$n][2]= $value[$n][2] //merge two urls deduplicate[$n][2]= $value[$n][2] // add score