2 D Arrays In PHP

2-D arrays:
The array is constructed from a number of rows and the number of the column it is used to solve real-time problem.

i.e 
<?php
$darray=array(array('1','one','number'),array('2','two','number'),array('3','three','number'));
?>
if we command
echo $darray[1][1]
it will display result as 2
Translate »