Re: switch with multiple case
| From: | Phil Driscoll | Date: | Wed, 14 Mar 2001 12:30:33 +0000 |
| Subject: | Re: switch with multiple case | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43817@lists.php.net to get a copy of this message | ||
Same as C
switch($something)
{
case "this": do that;break;
case "those":case "them": do other; break
...
default: print error
}
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org