SyntaxFix
Write A Post
Hire A Developer
Questions
Nope IF is the way to go, what is the problem you have with using it?
BTW your example won't ever get to the third block of code as it and the second block are exactly alike.