Skip to content
Advertisement

Tag: codeigniter-3

Create another data for single data in array

I’m doing a matchmaking system where 2 players with the same level will be matched (Joined in 1 array). My target is how can I make the player who has no match to have a 2nd data in array? The example I provided is when a player who doesn’t have a match, there should be another data that produces “nm”

Advertisement