note 13915 rejected from function.array-unique by didou

From: Date: Tue, 29 Jul 2003 11:49:23 +0000
Subject: note 13915 rejected from function.array-unique by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52904@lists.php.net to get a copy of this message
Note Submitter: lefeuvrenicolas@hotmail.com ---- about array_unique : <? $truc = array("l810u00","l810u00","l810q00"); $machin = array_unique($truc); for($i=0;$i < count($machin) ; $i++){ print $machin[$i]."<br>"; } ?> result : l810u00 so why this problem with array_unique() and how can I resolve it ? thank you for your answer.

« previous php.notes (#52904) next »