Help get this topic noticed by sharing it on Twitter, Facebook, or email.

help with multidimentional arrays

in PHP_MySQL_JavaScript_CSS second edition.
you talk of arrays on page 45... please can someone explain how you calculate this matrix...

php..start
$oxo = array(array('x', '', 'o'),
array('o', 'o', 'x'),
array('x', 'o', '' ));
php..end

To then return the third element in the second row of this array
echo $oxo[1][2];
which gives you x
Please can someone explain this
the answer is x
1 person has
this question
+1
Reply