Grade: B
Today is Monday, the start of the week!
In PHP, conditional statements allow you to execute different blocks of code based on certain conditions. The if statement executes some code if a condition is true and another code if that condition is false. The if ... elseif ... statement executes different codes for more than two conditions. Switch/Case is best used to replace a long if-elseif-else. The top example is my if...else condition. The middle example is my if…elseif…else condition. The bottom example is my PHP switch/case.