note 51607 deleted from function.array-unique by sobak

From: Date: Sun, 11 Dec 2016 06:52:40 +0000
Subject: note 51607 deleted from function.array-unique by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-208478@lists.php.net to get a copy of this message
Note Submitter: Ric ---- A very simple way of getting rid of duplicate entries and re-indexing with key starting at 0: <?php $temp = array_unique($main); $uniq = array_values($temp); ?>

« previous php.notes (#208478) next »