array_count_values() does something like this. It groups together
values and tells you how many times they occur in an array...
example
$array = array(
array("foo","bar","rex"),
array("foo","bar","zip"),
array("foo","bar","zoo"),
array("foo","bar","rex"));
/* put all e
I'd like to count the number of rows in a 2 dimensional array that have
the same data in their fifth field. Is there a PHP function that does
this? Sizeof() appears to lack condition parameters...
...Rene
---
René Fournier
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
T
2 matches
Mail list logo