day - inphp
date('w'); //gets day of week as number(0=sunday,1=monday...,6=sat)
//note:returns 0 through 6 but as string so to check if monday do this:
if(date('w') == 1){
echo "its monday baby";
}
Also in PHP:
- catch error in php
- disable cache laravel 8 development
- find string exist in string php
- echo line php
- date formats php
- check isset key in array php
- convert php array to javascript json laravel
- cache forget laravel
- artisan create seeder
- check if key exists in the array
- check if includes numbers php
- ccodeignter insert return inserred id where
- exception $e php $_GET
- check image is available on server php
- file_get_contents(http://cnh.local/dsc/uploads/1359e1e4c0a10294d9894146beb3e1e9.crt): failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server Error in file /opt/gitco/cnh_laravel/app/Repositories/CallRepository.php
- exceptional handling in php
- debuggin native php
- current date php function
- create model with controller laravel
- check array key exit php
- acf gutenberg blocks
- create laravel project
- composer won't use php version for subdomain multiphp
- check type of in php