Posted by Guillaume Dargaud on 11/11/33 12:00
Hello all,
I'm pretty sure there's a better way to do this without having to explore
the whole array until a match is found, but the solution escapes me at the
moment:
foreach ($Array as $key)
if ($key[1]===$Whatever) {
$Found=$key[0];
break;
}
--
Guillaume Dargaud
http://www.gdargaud.net/
[Back to original message]
|