hi,
ich weiß, dass ist vielleicht eine blöde/triviale frage, aber ich finde nichts dazu (bzw. weiß nicht, wie ich suchen soll). und zwar, ob es in php eine vordefinierte funktion gibt, die zählt, wie oft ein element in einem array vorhanden ist
dann nimmt man sich mal die übersichtsseite über die array-funktionen, und schaut da nach, welche passend sein könnte:
http://www.php.net/manual/de/ref.array.php
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."