As mentioned, how do i get the last element index , for example the position of 11 in this $a ?
$a[0][0] = 0;
$a[0][1] = 1;
$a[0][2] = 2;
$a[1][0] = 3;
$a[1][1] = 4;
$a[1][2] = 5;
$a[2][3] = 6;
$a[2][4] = 7;
$a[2][5] = 8;
$a[3][0] = 9;
$a[4][0] = 10;
$a[4][1] = 11;
enter code here
i will like to receive x = 1, y = 4
This will output:
Codepad: http://codepad.org/YfBFWznR