Tag: if else statement in php

PHP switch case Statement

switch case

PHP switch case statement Use to select one of many blocks of code to be executed.switch-case statement is alternative of the if-elseif-else statement, which does almost the same thing. The switch-case statement tests a variable against a series of values until it finds a match, and then executes the block of code corresponding to that match. Syntax of switch case statement


    switch case Read more…