PHP Shorthand If/Else Using Ternary Operators (?:)
An essential part of programming is evaluating conditions using if/else and switch/case statements. If / Else statements are easy to code and global to all languages. If / Else statements are great but they can be too long. I preach a lot about using shorthand CSS and using MooTools to make JavaScript relatively shorthand, so … Continue reading PHP Shorthand If/Else Using Ternary Operators (?:)
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed