note 70270 added to function.array-unique

From: Date: Mon, 09 Oct 2006 16:53:56 +0000
Subject: note 70270 added to function.array-unique
Groups: php.notes 
Request: Send a blank email to php-notes+get-118319@lists.php.net to get a copy of this message
Sorry to repost this but it was helpful and took a while to find all the way down. Ric 05-Apr-2005 09:44 A very simple way of getting rid of duplicate entries and re-indexing with key starting at 0: $temp=array_unique($main); $main=array_values($temp); ---- Server IP: 64.71.164.2 Probable Submitter: 216.106.182.129 ---- Manual Page -- http://www.php.net/manual/en/function.array-unique.php Edit -- https://master.php.net/note/edit/70270 Del: integrated -- https://master.php.net/note/delete/70270/integrated Del: useless -- https://master.php.net/note/delete/70270/useless Del: bad code -- https://master.php.net/note/delete/70270/bad+code Del: spam -- https://master.php.net/note/delete/70270/spam Del: non-english -- https://master.php.net/note/delete/70270/non-english Del: in docs -- https://master.php.net/note/delete/70270/in+docs Del: other reasons-- https://master.php.net/note/delete/70270 Reject -- https://master.php.net/note/reject/70270 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118319) next »