PHP4 won't allow multiple condition testing in a case statement. You get one shot, that's it.
What you do is create TWO case conditions. One that checks for one outside boundary, and another that tests the other. (PHP 4.04p1)
Example:
$A=17;
switch ($A) {
case $A<1:
echo 'A has no legit value';
break;
case $A<10:
echo 'A less than 10';
break;
case $A<20:
echo 'A between 10 and 20';
break;
case $A>20:
echo 'A greater than 20';
break;
}
would result in 'A between 10 and 20';
-Ben