This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Control Flow: Switch Forum

View Course » View Exercise

268 points
Picture
Submitted by
mike.mikeatkinsgmail.com
over 2 years ago

The results pane shows a syntax error, even when I successfully pass the lesson.

Due to connectivity issues, I am having real trouble getting through PHP. And in revising, this is question is the first place where I don't understand what's going on. To start with, it says that I have successfully passed the lesson, but the results panel gives a syntax error. Pasting the example into the code doesn't do anything either, which would suggest that the example is somehow off-base

In a broader sense, I don't even really understand what the step is illustrating. But that's symptomatic of the trouble that I am having with PHP in general. If I could get the above example addressed, that would be great.


2 votes

permalink

Hey, I'm having the same problem. Getting this message on 6/6 on control flow: Switch. Hope it gets resolved. Parse error: syntax error, unexpected T_SWITCH on line 9

423 points
Dcf528da215cc9bc149b473bb66ff856?s=140&d=retro
Submitted by
samyelabbar
over 2 years ago


0 votes

permalink

Me too and it's difficult to learn this way.

240 points
Picture
Submitted by
ComputerColumbus
about 2 years ago