https://www.codecademy.com/courses/web-beginner-en-jZv2E/0/3?curriculum_id=


#1

Switch Syntax
A switch statement is similar to an if / elif / else statement in that you can check multiple conditions. Here's what it looks like:

https://www.codecademy.com/courses/web-beginner-en-jZv2E/0/3?curriculum_id=HIHI


You don't have elif in PHP only Python...


#2

what exactly is your question?

fair enough. Php has else if?


#3

Hey @linuxlite,

You're right about PHP not having elif, as it's a Python thing, but do you have a question?

Please post as many of the following as you can give us;
~ Exercise number/URL
~ Full error message you received
~ The code you tried

Thanks!


#4

I think that what @linuxlite is trying to tell us is that there is a typo in the instructions for that exercise. It says elif instead of elseif.

That exercise is in one of the old courses that is no longer supported. I don't believe that there are any links to it from the codecademy.com site. That means that it is no longer being maintained and so we can't report bugs for it or get any fixes done.