php check if number is multiple of 3 code example
Example 1: check if number is multiple of 3 in php
You can check simply by using below code:
if($num%3==0){
echo "the number is multiple of 3";
}
Example 2: php number multiple of
if ($count % 20 != 0)