note 116297 rejected from faq by tularis
| From: | tularis@php.net | Date: | Mon, 08 Dec 2014 18:32:24 +0000 |
| Subject: | note 116297 rejected from faq by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-201090@lists.php.net to get a copy of this message | ||
Note Submitter: sanlike at rediffmail dot com
----
i HAVE FOLLOWING VALUES IN FEED TABLE
a1a a1b a1c a1d ......
7 8 7 7
8 9 8 8
9 7 7 8
7 8 10 9
6 4 6 7
7 8 8 5
9 7 7 6
This in an array ( select a1a,a1b,a1c,a1d from feed where .....)
1) I want to know how many times each values has occured in the array ( eg: 7 occured 10 times, 8
occured 8 times)
2) How many 7's, 8's, 9's are there in a1a, howmany .....in a1b
Number of times each values occured OVERALL in array as well as also under each head
Please help