Changes

Jump to: navigation, search

PHP Operators

No change in size, 18:36, 19 November 2007
PHP Logical Operators
== PHP Logical Operators ==
''Logical Operators'' are also known as ''Boolean Operators'' because they evaluate parts of an expression and return a ''true'' or ''false'' value, allowing desicions decisions to be made about how a script should proceed.
The first step to understanding how logical operators work is to construct a sentence rather than to look at a script example right away. Let's assume we need to check some aspect of two variables named $var1 and $var2. Our sentence might read:

Navigation menu