note 6021 deleted from Logical Operators by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 06 Oct 2000 23:19:09 +0000 |
| Subject: | note 6021 deleted from Logical Operators by jmcastagnetto | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6195@lists.php.net to get a copy of this message | ||
Just a note here (for people who might get confused :), I tried using both the OR and || operators,
in something like:
$c1
$c2
$c3
if ($command == $c1 or $command == $c2)
print ("$command executed");
But neither using || or OR works.
But | does work.
Just a happy thought :)