I have an array that stores numbers. The number of numbers changes from time to time. There is another variable that contains a number, and I need to find out in which range $num falls. In the above case, $num drops to 64. (More than 32 and less than 64)
$ar = array(0, 32, 64, 96, 128, 160, 192, 224); $num = 44;
How to do it?
source share