How to use Array 2 Dimension example I use this variable analysis[$x,$y] ----but can't use this variable ---I use this variable is correct or not? If not correct ...I will use any pattern?...
Close, the syntax is like this:
$array_var[$index1][$index2]
So:
for ($x=0;$x<10;$x++){ for ($y=0;$y<5;$y++){ print $array_var[$x][$y]; } }
would walk through all the elements of a 10 by 5 array named array_var