If else statement in PHP
Education and Training
PHP if-else statement is executed code if the condition is correct it returns true and if the condition is incorrect it returns false. To know more information about the if-else statement in PHP then you should visit here.