0

Why wont this Array run

I need help with this multidimensional array. <?php $myarr = array(); for ($row =0; $row < 2; $row++){ for($col = 0; $col < 16; $col++){ echo $myarr[$row][$col]; } }

4th Jul 2018, 9:17 AM
Aiden Brody
Aiden Brody - avatar
7 Réponses
+ 2
Aiden Brody if you are satisfied with the correct answer here you should mark it as best not your own "thank you"🤔 ATB👍
4th Jul 2018, 12:28 PM
Daljeet Singh
Daljeet Singh - avatar
+ 1
Thank you
4th Jul 2018, 9:36 AM
Aiden Brody
Aiden Brody - avatar
0
you dont have any elements in array
4th Jul 2018, 9:21 AM
Leshark
Leshark - avatar
0
Yes I want the loops to put the elements in the array is there a way to do it
4th Jul 2018, 9:25 AM
Aiden Brody
Aiden Brody - avatar
0
yes
4th Jul 2018, 9:28 AM
Leshark
Leshark - avatar
0
Thank you can you tell me how to do it
4th Jul 2018, 9:29 AM
Aiden Brody
Aiden Brody - avatar