-5

Possible Duplicate:
How to remove duplicate values from a multi-dimensional array in PHP

I would like to know how to remove the duplicate array values from the following

Array (
   [0] => Array ( )
   [1] => Array (
      [0] => 7
      [1] => 8
   )
   [2] => Array (
      [0] => 7
   )
   [3] => Array (
      [0] => 8
   )
)
Community
  • 1
  • 1
  • 1
    Ok, wait a moment, please. Seriously, [what have you tried?](http://whathaveyoutried.com) – Leri Jan 30 '13 at 11:08
  • try typing "I would like to know how to remove the duplicate array values" into google, first result. Cool eh?! – SubjectCurio Jan 30 '13 at 11:36

1 Answers1

0

Use array_unique PHP function.

array_unique($variable);
Devang Rathod
  • 6,650
  • 2
  • 23
  • 32