check if number doesn't divide exactly by 3 php
if($number % 15 == 0) {
echo "BY3 AND 5";
} elseif ($number % 5 == 0) {
echo "BY5";
} elseif ($number % 3 == 0) {
echo "BY3";
}
Also in PHP:
- decode base 64 php
- echo php console
- The magic __toString() method will be invoked automatically when the code enters the catch()statement and the custom exception message will be printed
- DateTime and Timestamps
- count string char php
- display human readable date php
- What is a Regular Expression in php
- date print in php
- Auth::user() id
- check like in string php
- all files in a folder to array php
- factory laravel seeder
- Dynamic title on every page laravel blade
- convert date to times php
- config clear cache laravel
- catch exception php
- array_count_values php
- clear laravel storage cache
- clearing cache on live site laravel
- @lang laravel blade
- create new laravel project
- composer create project laravel
- clear cache from admin panel laravel
- date_format timeformat php