need to find a way to remove similar keys
| From: | electroteque | Date: | Sun, 25 Aug 2002 10:49:28 +0000 |
| Subject: | need to find a way to remove similar keys | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-114038@lists.php.net to get a copy of this message | ||
hi i am trying to find a possible way to remove similar id keys and pass
back just each different one , for example i have a photo gallery each photo
has a userID key of who the photo was taken by i would like to grab all the
id for each photo and pass back just one result of the different people who
have taken the photos
so i append them all like 1, 1, 1, 1, 2, 1, 2, 1, 3 and i just want to get
back 1, 2, 3 keys?