Comparison Operators
If
statements usually contain conditions that compare two values.
Example
Check if $t
is equal to 14:
$t = 14;
if ($t == 14) {
echo "Have a good day!";
}
To compare two values, we need to use a comparison operator. Continue reading PHP if Operators