Introduction to If-Else Conditionals in PHP
In programming conditionals are the constructs that control flow of a program. Conditional constructs allow a program to have logic that enables decision making. Conditional construct in PHP include if, elseif, and else. The if and elseif are followed by one or more expressions that can be evaluated to a Boolean value. The else is not followed by a boolean expression, but simply by a block of code that will be executed in the case that the other Booleans expressions are false. Visit the download url for more...