Re: single dimensional array questions
| From: | Curt Zirzow | Date: | Wed, 04 Aug 2004 16:41:11 +0000 |
| Subject: | Re: single dimensional array questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192729@lists.php.net to get a copy of this message | ||
* Thus wrote Adam Williams:
> ...
>
> And now my question. What I need to do is create a single
> dimensional array that contains each number that
> count(array_unique($value)) is counting. how would I do this? I can't
> use the SQL query because I have to remove duplicate cardnums for each
> date.
Actually SQL is the best way to do this. See your database
documentation about aggregating data.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!