PHP, wenn durch 30 teilbar
if ($variable % 30 == 0) {
echo 'This number is divisible by 30.';
};
Grepper
if ($variable % 30 == 0) {
echo 'This number is divisible by 30.';
};