Skip to main content

Video: Shorthand if-else Conditionals with PHP

By Lami Adabonyan

PHP

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

In this screencast I’ll show you how to make your code more succinct by using the ternary operator to write shorthand if-else conditional statements in PHP.

Loading the player…

Lami is an IT consultant with a focus on web, database, and mobile technologies. He is very versed in technologies that run on both Microsoft and Linux platforms.

New books out now!

Learn valuable skills with a practical introduction to Python programming!


Give yourself more options and write higher quality CSS with CSS Optimization Basics.