Answer the question
In order to leave comments, you need to log in
How to shorten something like this?
Hello. There is a delusional condition
if ($i == 3 OR $i == 6 OR $i == 9 OR $i == 12 OR $i == 15 OR $i == 18 OR $i == 21 OR $i == 24 OR $i == 27 OR $i == 30) {
//
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question