List Info

Thread: note 63819 added to function.array-unique




note 63819 added to function.array-unique
user name
2006-03-31 20:41:43
This is a script for multi_dimensional arrays
function remove_dup($matriz) {
	$aux_ini=array();
	$entrega=array();
	for($n=0;$n<count($matriz);$n++)
	{
		$aux_ini[]=serialize($matriz[$n]);
	}
	$mat=array_unique($aux_ini);
	for($n=0;$n<count($matriz);$n++)
	{
		
			$entrega[]=unserialize($mat[$n]);
		
	}
	return $entrega;
}
----
Server IP: 66.163.161.117
Probable Submitter: 200.71.37.45 (proxied: 10.0.1.33,
200.71.37.45)
----
X-Spam-Status: No, hits=3.1 required=5.0
tests=DATE_MISSING,FROM_NO_LOWER 
	autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.array-unique.php
Edit        -- http://master.p
hp.net/note/edit/63819
Del: integrated  -- ht
tp://master.php.net/note/delete/63819/integrated
Del: useless     -- http:
//master.php.net/note/delete/63819/useless
Del: bad code    -- http
://master.php.net/note/delete/63819/bad+code
Del: spam        -- http://m
aster.php.net/note/delete/63819/spam
Del: non-english -- h
ttp://master.php.net/note/delete/63819/non-english
Del: in docs     -- http:
//master.php.net/note/delete/63819/in+docs
Del: other reasons-- http://master
.php.net/note/delete/63819
Reject      -- http://master
.php.net/note/reject/63819
Search      -- http://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )