for($i=0;$i<3;$i++){
for($j=1;$j<21;$j++){
echo $values[$i][$j]["score$j"];
}
}
The above code gives the result as
65432123456543212349
00000000000000000000
10543212345654321234
Now I want this result to be in matrix(5*4) format. Eg.
1=> 6 5 4 3
2 1 2 3
4 5 6 5
4 3 2 1
2 3 4 9
2=> 0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
Thanks in advance.....