i have 2 arrays of PHP, one having ids of online users and second having ids of idle users, but in idle users array some ids of online user's also exist, i want to compare both arrays and remove user ids from 2nd array in php. how can i do this?
3
-
you mean offline users from idle's array . right?Ranjith– Ranjith2015-03-02 09:55:01 +00:00Commented Mar 2, 2015 at 9:55
-
or you want to remove those ids who exist in online array?Imran Qamer– Imran Qamer2015-03-02 09:57:08 +00:00Commented Mar 2, 2015 at 9:57
-
i want to remove those ids whic exist in online users array.user2503896– user25038962015-03-02 09:57:43 +00:00Commented Mar 2, 2015 at 9:57
Add a comment
|