PHPMaster: Using the Ternary OperatorBy Amanda Steigerwalt
You’re probably already familiar with PHP’s if statement. It’s very similar to its counterparts in many other programming languages and represents one of the most fundamental concepts in programming. The if statement is easy to understand and easy to master.
PHPMaster: Using the Ternary Operator