Why it is appeared parse sintax ERROR ","? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Why it is appeared parse sintax ERROR ","?

When I 've pressed "RUN" it is appeared in mult2 array initialisation, may be. In mult2_arr. php. https://code.sololearn.com/wME1245evp33/?ref=app

8th Apr 2019, 5:59 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
2 Respostas
+ 2
There are multiple errors in your code, one appears at the array declaration. Youā€™re closing off more parenthesis than youā€™re opening up, so at the end of the declaration there are excess parenthesis. Second part is an exclamation mark where there should be ā€++ā€ in your second loop. Third part is in your column loop, youā€™ve got a typo on column ā€colomn = 0ā€. The fourth error is when youā€™re printing your variable, the keys in your array are written with text, theyā€™re not all variables. To be clear, youā€™ve missed the ā€$ā€ symbol on two of your key variables. That should do it, might wanna tweak your output a bit after that, good luck :) Hope it helped, meant no offense just wanted to be clear in where your issues were.
8th Apr 2019, 7:08 PM
Victor Andersson
Victor Andersson - avatar
+ 2
Thank You, Tutor Victor - :). It 's OK!!. It works fine.
9th Apr 2019, 1:54 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar