note 4933 deleted from Control Structures by jimw
| From: | jimw@php.net | Date: | Thu, 11 Jan 2001 03:03:46 +0000 |
| Subject: | note 4933 deleted from Control Structures by jimw | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9622@lists.php.net to get a copy of this message | ||
As far as checking multiple values at once:
if ($a==1 || $b==1){
// Code for if $a or $b is equal to 1
}
<Br>
or you can use && instead of || - see the section, I believe, on operands and so on.