How to check if a number falls in a given range

前端 未结 0 1459
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 15:42

I have a variable $user_id (number value)

Want to check if $user_id falls in between the range of 1 - 1000 or 1001 - 2000 or 2001 - 3000 ...

相关标签:
回答
  • 消灭零回复
提交回复
热议问题