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!

Get practical advice to start your career in programming!


Master complex transitions, transformations and animations in CSS!