If I println($values) I will get the results of the correct attributes for each file fully written as shown in array as key on left but I would like to run the results against the array (valuesCodes) to get the values on right.
Any help would be greatly appreciated, I'm brand new to PHP.
$valuesCodes = array(
"Anfield" => "ANF",
"Lower" => "LOW",
"Burntown"=>"BUR");
foreach ($Files as $file) {
$contents = simplexml_load_file($file);
$values = $contents->Match->attributes()->stadium;
}