note 39968 deleted from function.array-unique by felipe

From: Date: Sun, 09 Dec 2007 15:54:21 +0000
Subject: note 39968 deleted from function.array-unique by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-133040@lists.php.net to get a copy of this message
Note Submitter: matt at remove_mehsmx dot com ---- Note that <?php array_unique($anyarray); ?> does not do anything, unlike other array functions such as <?php sort($anyarray); ?> You have to use something like: <?php $anyarray = array_unique($anyarray); ?>

« previous php.notes (#133040) next »