Hi all
Sorry for the silly question, but my PHP skills are still very limited.
I have the following problem:
I have a file
$team = array ( 0 => array ("u.19A", "o.19A"),
1 => array ("u.19B", "o.19B"),);
function one(){
echo($team[0][0]);
}
This however results in nothing being echoed. I want to use the $team array in many functions and therefore need to declare it outside a function with scope to all of them.
How can this be done? I have tried global, but I think I use it incorrectly.
PLEASE HELP HERE!!
Regards,
Comlink