....
bien sur qu'elle existe directement -_-
tiens, 3s sur php.net, c'est array_search
$value_index = array_search($value, $array)
$value_index est a FALSE s'il n'a pas trouvé $value dans $array, sinon c'est l'index de $value
t'as aussi in_array($value, $array) qui rend TRUE si $value est dans $array et FALSE dans le cas contraire
si c'est pas ce que tu cherches va faloir réexpliquer plus clairement -_-
Message édité par masklinn le 23-08-2004 à 14:17:04
---------------
I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing?