Search the Community
Showing results for tags 'bracket'.
-
Hello I am looking for some help to display an array which contains the data for our tournament.... I have been using a class called class_knockout.php which has proved a huge help... but it uses GDLIB to display the results and I am getting varying results from different browsers and often getting garbage instead... even though the array is always valid. Here is how the array looks: Array ( [1] => Array ( [0] => Array ( [c1] => WARS [s1] => 2 [c2] => Bueca Juerniores [s2] => 1 ) [1] => Array ( [c1] => BUECA JUENIORESITA [s1] => 0 [c2] => FC Naulakone [s2] => 1 ) [2] => Array ( [c1] => pesfi [s1] => 0 [c2] => FenderZ [s2] => 1 ) [3] => Array ( [c1] => HITers [s1] => 0 [c2] => Almargem FC [s2] => 1 ) ) [2] => Array ( [0] => Array ( [c1] => WARS [s1] => 0 [c2] => FC Naulakone [s2] => 1 ) [1] => Array ( [c1] => FenderZ [s1] => 0 [c2] => Almargem FC [s2] => 1 ) ) [3] => Array ( [0] => Array ( [c1] => FC Naulakone [s1] => 0 [c2] => Almargem FC [s2] => 1 ) ) ) The outer array is the round, 1 being the first and 3 being the final, the inner array is each game in that round with each game having 2 competitors, c1 and c2, and 2 scores, s1 and s2 The number of rounds can be dynamic as well.. so there could be up to maybe 32 games in a single.... Any advice would be appreciated Thanks