note 107632 added to function.array-count-values
| From: | john at johnnahlen dot com | Date: | Wed, 22 Feb 2012 19:54:38 +0000 |
| Subject: | note 107632 added to function.array-count-values | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186284@lists.php.net to get a copy of this message | ||
I was using a database technology where I didn't have an SQL-like COUNT() ... GROUP BY feature.
This function suited my needs perfectly. I simply pushed all the returned values from the column
into an array and called this function.
----
Server IP: 69.147.83.197
Probable Submitter: 72.214.134.20
----
Manual Page -- http://www.php.net/manual/en/function.array-count-values.php
Edit -- https://master.php.net/note/edit/107632
Del: integrated -- https://master.php.net/note/delete/107632/integrated
Del: useless -- https://master.php.net/note/delete/107632/useless
Del: bad code -- https://master.php.net/note/delete/107632/bad+code
Del: spam -- https://master.php.net/note/delete/107632/spam
Del: non-english -- https://master.php.net/note/delete/107632/non-english
Del: in docs -- https://master.php.net/note/delete/107632/in+docs
Del: other reasons-- https://master.php.net/note/delete/107632
Reject -- https://master.php.net/note/reject/107632
Search -- https://master.php.net/manage/user-notes.php