Manipulating Multi Dimensional array and representation
<p>I want to find out which user is not part of other games available in database  i get an array as following</p>

<pre><code>$arr2=Array
(
    (0) =&gt; Array
        (
            (uid) =&gt; 1,
            (game_id) =&gt; 22
        ),

    (1) =&gt; Array
        (

            (uid) =&gt; 2,
            (game_id) =&gt; 22
        )
    (2) =&gt; Array
        (

            (uid) =&gt; 1,
            (game_id) =&gt; 23
        )
    (3) =&gt; Array
        (

            (uid) =&gt; 3,
            (game_id) =&gt; 24
        )
);
</code></pre>

<p>For example User 1 is in Game 22,23 BUT NOT IN 24 user 3 is in only game 24
I want to find out which user is not participating in other game, Issue is effeciency(speed of execution)
and how to represent in array so as i can use it to display.Is it god idea to have it like 
userid=> notInGame,notInGame (CSV)?</p>
