Removing duplicates from an array
<p>I have a multidimensional array looking like this:</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [id] =&gt; 1
            [genretitel] =&gt; actie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 1
        )

    [1] =&gt; Array
        (
            [id] =&gt; 5
            [genretitel] =&gt; actie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 1
        )

    [2] =&gt; Array
        (
            [id] =&gt; 2
            [genretitel] =&gt; animatie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 1
        )

    [3] =&gt; Array
        (
            [id] =&gt; 6
            [genretitel] =&gt; komedie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 1
        )

    [4] =&gt; Array
        (
            [id] =&gt; 4
            [genretitel] =&gt; animatie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 2
        )

    [5] =&gt; Array
        (
            [id] =&gt; 3
            [genretitel] =&gt; drama
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 2
        )

    [6] =&gt; Array
        (
            [id] =&gt; 8
            [genretitel] =&gt; science fiction
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 2
        )

    [7] =&gt; Array
        (
            [id] =&gt; 11
            [genretitel] =&gt; avontuur
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 2
        )

    [8] =&gt; Array
        (
            [id] =&gt; 15
            [genretitel] =&gt; actie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 3
        )

    [9] =&gt; Array
        (
            [id] =&gt; 13
            [genretitel] =&gt; animatie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 3
        )

    [10] =&gt; Array
        (
            [id] =&gt; 7
            [genretitel] =&gt; documentaire
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 3
        )

    [11] =&gt; Array
        (
            [id] =&gt; 10
            [genretitel] =&gt; science fiction
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 3
        )

    [12] =&gt; Array
        (
            [id] =&gt; 12
            [genretitel] =&gt; actie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 4
        )

    [13] =&gt; Array
        (
            [id] =&gt; 14
            [genretitel] =&gt; animatie
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 4
        )

    [14] =&gt; Array
        (
            [id] =&gt; 9
            [genretitel] =&gt; drama
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 4
        )

    [15] =&gt; Array
        (
            [id] =&gt; 16
            [genretitel] =&gt; historisch
            [weekdag] =&gt; zaterdag
            [zaaltitel] =&gt; zaal 4
        )

)
</code></pre>

<p>What I would like to have is just the same multidimensional array but without the duplicates.</p>
