+ 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 Answers
+ 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