mysql related question
| From: | kukk at design dot interest dot ee | Date: | Tue, 29 Aug 2000 20:06:54 +0000 |
| Subject: | mysql related question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-2455@lists.php.net to get a copy of this message | ||
Hi.
Im very new in this list right now, but I need help! :-)
I am dealing with a mysql database and I would like to get some
information from a single field.
I do it with mysql_fetch_array($sql); so I think I will get an array from
this.
Now what I need is to remove any possible duplicate values from this
array. I tried to do it width array_unique(); but I get an error smth
about wrong data type :-(
Has anyone dealt with this kind of a problem or can someone let me know
how can I remove duplicate values from an SQl result?
thanks in advance,
with best regards
___________________
Erki Kukk
erki@kukk.com