DATE "W"
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:
- $_SESSION php example
- arr::plunk laravel
- codeigniter 4 redirect to home
- convert object to array php
- current php date
- check a string contains a ltter in php
- SSL operation failed with code
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes) in phar in windows
- _e in wordpress
- current time in laravel migration
- array key exstis php
- check scheduler on localhost laravel
- Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
- What parameter should you enable if you wish for your browser to show all errors?
- create a folder with php
- /DependencyResolver/Solver.php on line 223
- composer global in laravel means
- does php use integer divison
- check in string match php
- decode jwt token laravel
- date(Y m d) php
- file original extensions laravel
- Token capabilities in vault
- find contact page url by domain list php