note 11217 added to array_unique
| From: | sneze at yahoo dot com | Date: | Sat, 10 Feb 2001 14:47:41 +0000 |
| Subject: | note 11217 added to array_unique | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10877@lists.php.net to get a copy of this message | ||
$users = array_unique($online_users);
foreach($users as $value){
echo $value;
}
saved my day
http://www.php.net/manual/en/function.array-unique.php