Ok, i'm tring to find only the unique values in my multidimensional array...
an example being
$all = array ('0' => array ('fname' => 'max', 'lname' => 'black'), '1' => array ('fname' => 'john', 'lname' => 'wolf'), '2' => array ('fname' => 'max', 'lname' => 'tent'));
(this may not actualy work, I just came up with it..)
What I want to do with this is assign $unique (another array) with the first fname value that match and not the rest... So then $unique would equal
$unique = array ('0' => array ('fname' => 'max', 'lname' => 'black'), '1' => array ('fname' => 'john', 'lname' => 'wolf'));
It would equal this because the 0 fname and the 2 fname were the same, so it deleted the newer one and kept the older one...
Help on this would be great.
thnks n dvnc