tired of if/else? How about ternary? The PHP Ternary Operator is a way to quickly express if/else statements. The ternary operator follows the following syntax: ( boolean expression ) ? if_true : if_false; If the boolean expression evaluates to true, the “if_true” result is displayed, otherwise the “if_false” result is displayed. Just as a quick recap, the normal if/else syntax looks like the following: <?php $expression = true; if ( $expression ) { // do statement if true } else { // do statement if false } ?> This gets redundant especially when you’re just echoing