I think this has been up before, but could\'nt find any answer to it. If it\'s already answered please point me in the right direction with a link.
I have an array t
foreach($array as $key=>$val) { $newarr[$val] = $array[$key][$val]; }
untested!