Shorten Your If/Then Statements in PHP with Ternary Operators

Опубликовано: 03 Октябрь 2024
на канале: OSTraining
712
21

If you write PHP code, you've written hundreds or thousands of If/Then statements over the years.

All of the PHP based content management systems use them and it comes up all the time in our Drupal class.

In this video, Rod shows you how to use ternary operators to dramatically shorten the code you'll need.

For more webdev learning visit https://ostraining.com