note 30835 deleted from control-structures.elseif by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 18 May 2004 22:31:18 +0000 |
| Subject: | note 30835 deleted from control-structures.elseif by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-69803@lists.php.net to get a copy of this message | ||
Note Submitter: cp1967@techie.com
----
This function works well if you want to identify something to do for a couple of conditions, and the
remainder, you want to do nothing with.
Ex.
if($a == a){
print "yes";
}elseif($a == b){
print "no";
}else{
// if $a != a AND $a != b
print "who cares";
}