divisible by 2 php output numbers
if($number % 15 == 0) {
echo "BY3 AND 5";
} elseif ($number % 5 == 0) {
echo "BY5";
} elseif ($number % 3 == 0) {
echo "BY3";
}
Also in PHP:
- clear cache locally laravel
- cash clear laravel
- Artisan namespace
- create new project laravel
- fetch visitor ip address php
- .lenght en php string
- ADjust time limit php
- customizing php time format based on location usa europe
- data type php display
- comment in php
- PHP Startup: Unable to load dynamic library 'curl'
- array check if element contains key
- date math sql php
- echo err in php
- composer uninstall package
- convert ip to latitude longitude using php
- array sort unique laravel
- composer require laravel 5.8
- How to use mbstring on Heroku (PHP)
- clear composer cache
- ->count_all_results() in code igniter
- find index of a charachter charachrer isn string phph
- doctrine getrepository findby
- _______ is used to execute laravel project