multiple of 3 php code example
Example: 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";
}
You can check simply by using below code:
if($num%3==0){
echo "the number is multiple of 3";
}