• if...else statement − use this #statement if you want to #execute a set of code when a condition is #true and another if the condition is #not #true
• elseif statement − is used with the if...else statement to execute a #set #of #code if one of the several conditions is true
• switch statement − is used if you want to select one of many blocks of code to be executed, use the Switch statement. The #switch #statement is used to #avoid #long #blocks of if..elseif..else code.
https://www.techforest.in/php-training-in-indore-institute-classes-indore.html