If i have this:
$players = array("A","B","C","D","E","F","G","H","I","J","L","M","N","O","P","Q");
How i populate a single tournament elimination like this for example:
Matche 1: AxL
Matche 2: CxJ
Matche 3: HxQ
.
.
.
Matche 8: ExP
16 players = 8 Matches
I try this and other codes too:
<?php
$players = array("A","B","C","D","E","F","G","H","I","J","L","M","N","O","P","Q");
shuffle ($players);
foreach($players as $key=>$value)
{
echo $value.','.$value.'<br>';
}
?>
'; } ?> – FBN Jun 17 '15 at 15:55