In this PHP video tutorial, we continue where we left off in #4 and look at nesting IF statements. I show you how we can check for one condition and if it is true, then check for more conditions. From there, we change things up and look at Switch statements. These essentially provide the same functionality as If / Else If statements but can look cleaner and easier to read. Finally, we conclude the tutorial by looking at short form IF statements. This should only really be used for very simple IF evaluations.
Video: