Hey guys, so I have two arrays
$names = array('jimmy', 'johnny', 'sarah');
$ages= array('16', '18', '12');
I am trying to find the biggest/maximum value in ages, get that elements position and use said position to get the corresponding name. How would I achieve this?
Is there a better way to achieve the corresponding name, perhaps bundling all in one?
Thanks