PHP – Calculate the next occurrence of any given date

Happy Friday the 13th! Here are some fun facts for you: any month that begins on a Sunday will have a Friday the 13th. Furthermore, Friday the 13th is no different, statistically speaking, than say Tuesday the 17th. That is, they both occur (or don’t occur) the same number of times. Speaking of dates and … Continued

How to Handle a Terminated Employee’s Email

One of the questions that I often see asked around the web is “what do you do with an employee’s email and email address once they leave the company?” This quick article will outline the process that I’ve been using for a while now, and that has always served me and my clients (and their … Continued

PHP Flash Messages

After more than three years since its original release, I’ve finally found the time to properly update my old PHP Session-Based Flash Messages class. This updated version brings PSR-4 autoload compliance, Bootstrap compatibility, namespaces, sticky messages, and more!