WmZilla - Webmaster and Marketplace

The Next Generation Webmaster and Trade Forum

[SOLVED] Reading the Desired Value if it is Equal to or Greater

WhatsANinja

New member

0

0%

Status

Offline

Posts

34

Likes

0

Rep

0

Bits

180

5

Months of Service

0%
This query runs smoothly when the values are equal, but an issue arises when the number exceeds the recorded data. For example, if a and b are above the desired value, I want it to take the value 2, but it actually takes the next value, which is 3. So, when it should take the value 2 when it's 16 or 31, it ends up taking the value 3. What I actually want to achieve is a level system. I want it to reach the 2nd level when reaching values of 15 / 30 and reach the 3rd level when reaching values of 50 / 80. So, when it's 16 or 31, it should remain at the 2nd level.
 

249

6,622

6,642

Top