9. If Statements

An If statement is a conditional statement that will allow your PHP application to make a decision based on if a statement is true or false. This is where we start getting into the dynamic features of programming and understanding some of the core concepts.