if elseif else ... could be replace by switch.
but switch is only for the "equal condition = ". for the greater or smaller condition > or <" i will still need to use if elseif ?
such as
i want to see if a number $total fall in which of the following ranges.
1-10
11-30
30-80
80-100
i still have to use if else if statments, regularly speaking, right?
thanks.