Re: sizeof($array) with a twist

From: Date: Tue, 04 Dec 2001 21:53:08 +0000
Subject: Re: sizeof($array) with a twist
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-76604@lists.php.net to get a copy of this message
> 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... You'll probably have to walk the array. I don't suppose this data is coming from a database? *MUCH* better to have SQL to do this. Or, maybe this data *SHOULD* be in a database... -- Like music? http://l-i-e.com/artists.htm

« previous php.general (#76604) next »