That obviously is not valid syntax. This really is just a basic if/else statement:
if($test>=0 && $test <=10){
echo $something;
}elseif ($test>=11 && $test <=20) {
echo $something_b;
}elseif ($test>=21 && $test <=30) {
echo $something_c;
}
Just check of $test
is greater than or equal to value 1 or less than or equal to value 2. If not, move on to your next if statement.