note 11460 rejected from function.array-unique by didou

From: Date: Tue, 29 Jul 2003 11:49:41 +0000
Subject: note 11460 rejected from function.array-unique by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52905@lists.php.net to get a copy of this message
Note Submitter: wloske@yahoo.de ---- I hope it is not too basic but one might ask: So how do I get those new values without empty sets ? The simple answer: $new_array = array_values(array_unique($array));

« previous php.notes (#52905) next »