Answers for "if number of items isn't divisiable by 3 php"

PHP
5

is number divisible by 3 php

if($number % 15 == 0)  {
    echo "BY3 AND 5";
} elseif ($number % 5 == 0) {
    echo "BY5";
} elseif ($number % 3 == 0) {
    echo "BY3";
}
Posted by: Guest on January-03-2020

Code answers related to "if number of items isn't divisiable by 3 php"

Browse Popular Code Answers by Language