Ok.. A quick question, say I have an array like
<PRE>
$SUB
[cn] => Array
(
[0] => Array
(
[country_desc] => Andorra
[country_id] => 213
[dial_code] => 376
[operator_id] => 003
)
[1] => Array
(
[country_desc] => Australia
[country_id] => 505
[dial_code] => 61
[operator_id] => 002
)
[2] => Array
(
[country_desc] => Australia
[country_id] => 505
[dial_code] => 61
[operator_id] => 003
)
</PRE>
How would I be able to output UNIQUE $SUB[cn][$i][country_desc] and $SUB[cn][$i][country_id] to its own array ? Should I use array_unique() ? if so how ?
for the array above I would like to recieve something like
<PRE>
$SUB
[cn_unique] => Array
(
[0] => Array
(
[country_desc] => Andorra
[country_id] => 213
)
[1] => Array
(
[country_desc] => Australia
[country_id] => 505
)
</PRE>
Many thanks in advance!
Carl