I have the following multidimensional array:
$ancestors = array(
[1] =>array("Andrew","Adele"),
[2] =>array("Bertha","Bill","Billy","Blake"),
[3] =>array("Cathy","Case","Cory","Creek","Andrew","Ceaser","Cece","Childer"));
I am trying to search the rows and return duplicate values along with the array key of the lowest number the duplicate appears and return values to an associative array:
$common = array("Andrew"=>"1");