PHP CONDITION
PHP Conditional Statements In many ways PHP's methods of handling conditional statements (if) is exactly the same as C/C++. All of the if-related logical operators are the same, although they've added a couple of more for convenience: < > <= >= == != ! && || AND OR With the addition of the word versions of AND and OR, conditional statements can now be written more like English: if ($num1 < $num2 AND $num3 == $num4) if ($a == 'Sample' OR $data < 200).
0 comments:
Post a Comment