echo the number if the division is 1 php

PHP
if ($variable % 30 == 0) {
    echo 'This number is divisible by 30.';
};
Source

Also in PHP: