Ternary Operators in PHP: Shorthand If Else Statements

If-Else statements are a vital part of programming, however sometimes all the code that goes into writing are not required, especially if only only simple condition is needed. This is what the ternary operator is used for. Continue reading “Ternary Operators in PHP: Shorthand If Else Statements”