Hi All,
this is my code and MyTotal is = 10, why does it execute code a? and not code b?
if($MyTotal >= 5 And $MyTotal <= 9) {
... Codea
} elseif($MyTotal >= 10 And $MyTotal <= 19) {
...Codeb
} elseif($MyTotal >= 20 And $MyTotal <= 29) {
...Codec
} elseif($MyTotal >= 30) {
...Coded
} else {
...Codee
}