I have two arrays, one of which is skillInTraining which consists of these entries:
Array
(
[currentTQTime] => 2009-01-25 01:06:20
[trainingEndTime] => 2009-01-26 09:22:01
[trainingStartTime] => 2009-01-23 17:29:13
[trainingTypeID] => 3393
[trainingStartSP] => 8000
[trainingDestinationSP] => 45255
[trainingToLevel] => 4
[skillInTraining] => 1
)
and the other array, which is skill tree. I would paste the skill tree Array but it is too big. You can view it at: http://pastebin.ca/1317566
The two arrays have one entry in common: in the first array it is trainingTypeID and in the second array it is TypeID. Is there a way to compare the two arrays and output the value of typeName for the part of the second array that matches the first?