Using PHP shorthand IF/Else statements are a great time saver and help make your code look neater.  Here is a collection of examples I often use.

 

Leave a Reply

Your email address will not be published. Required fields are marked *