I want to find out which user is not part of other games available in database i get an array as following
$arr2=Array ( (0) => Array ( (uid) => 1, (game_id) => 22 ), (1) => Array ( (uid) => 2, (game_id) => 22 ) (2) => Array ( (uid) => 1, (game_id) => 23 ) (3) => Array ( (uid) => 3, (game_id) => 24 ) ); 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)?