Conditional Statements in PHP - PHP Virgin

Before we get started with conditions, let’s take a quick look at comparison operators. You should remember them from math class. These allow you to make a comparison between two values. For instance, 1 is less than 2, $a equals $b, or $a is not equal to ’dude bro’. Programming is all about conditions. Hell, life is all about conditions. We think in conditions, right? Like when you think, IF
Back to Top