Oops !!
I have the following array in php , I need to create a clash between the teams and the teams that are of the same group / example array Time 01 and Time 02 can not face in the first round
I thought of checking if the element is from the same array if it takes one and passes it to the next, but I could not do that check. I do not know if there is already a function that does this !!
If anyone has a how-to tip, I'm grateful !!
array(3) {
[0]=>
array(2) {
[2]=>
string(7) "Time 01"
[3]=>
string(7) "Time 02"
}
[1]=>
array(1) {
[0]=>
string(7) "Time 03"
}
[2]=>
array(1) {
[1]=>
string(7) "Time 04"
}
}