Re: Pulling unique data from database
| From: | Jason Wong | Date: | Mon, 02 Feb 2004 02:32:45 +0000 |
| Subject: | Re: Pulling unique data from database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176547@lists.php.net to get a copy of this message | ||
On Monday 02 February 2004 10:26, Richard Kurth wrote:
> What I need to do is find all the unique languages so I can generate a
> list of languages that do not have any repeats in it. so the list above
> would be English,Portuguese,Finnish,Japanese,German,Spanish in any
> order
explode() and array_unique() or array_flip() should get you started.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A fool must now and then be right by chance.
*/