Is there a better way to do something like this and is this the correct way to do if statements and the correct way to do Or
PHP Code:if ($f == 43 | 2 | 56 | 38) {
//Do stuff
} else {
if ($f == 34 | 53 | 4 | 9) {
//do other stuff
} else {
if ($f == 3 | 10 | 8) {
//do more crap
} else {
//other things
}
}
}
}





Reply With Quote