Changes

Jump to: navigation, search

PHP Operators

1 byte removed, 18:43, 19 November 2007
PHP Logical Operators
''If $var is less than 25 AND $var2 is greater than 45 display a message.''
Here the logical operator is the "AND" part of the sentence. If we were to express this in PHP we would use the comparision comparison operators we covered earlier together with the && logical operator:
<pre>

Navigation menu