I want to check a variable to see if it is between a range but am not quite sure how to approach this for an if tree. Say,
$a = 1;
if (0 < $a < 2) {
do whatever;
}
I tried "joining" but using two functions 0 < $a AND 2 < $a but that doesn't use 2 as a max and 0 as a min.