note 13628 rejected and deleted from control-structures.switch.php by zak
| From: | zak@php.net | Date: | Tue, 26 Jun 2001 05:55:06 +0000 |
| Subject: | note 13628 rejected and deleted from control-structures.switch.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14653@lists.php.net to get a copy of this message | ||
Hello,
I'd like to know if "switch" can test if a variable matches multiple cases Ex:
switch ($action) {
case "add":
do this;
case "delete" or "remove":
do that;
}
Thanks in advance,
André Azevedo (Zylak)