note 24937 rejected from control-structures.switch by victor
| From: | victor@php.net | Date: | Thu, 05 Sep 2002 15:37:48 +0000 |
| Subject: | note 24937 rejected from control-structures.switch by victor | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-36171@lists.php.net to get a copy of this message | ||
What's the syntax if I want to do something in case the swithced value falls between two
values:
<pre>
switch ($i)
{
case BETWEEN 1 AND 12:
SOMETHING;
break;
case 13:
SOMETHING;
break;
case 14:
SOMETHING;
break;
}
</pre>