I want to create a two dimensional array in PHP. How do I do it?
How can echo a value from the two dimensional array at a given position?
Any Help please?
$my_array = array ( array (1, 2), array (3, 4) );
echo $my_array[1][1];
This will print 4. Please read up on arrays at http://php.net/manual/language.types.array.php