The problem I have is the following: I have a variable number of array items, so I can not have a fix number of if then else
. In any case, it can not exceed 50 items.
This is the main-standard body. How to build as many if then else
conditions as the count
of an array on the fly ?
$number = count($array);
if (($a > $b) && ($a <= $b)) {
} else