DATE('HIS') php
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:
- db seeder laravel 5
- create new laravel project with specific version
- array key exists in php
- dynamic input field laravel-livewire
- check if contains string php
- cache refresg in laravel
- July 2, 2019 php date format
- convert html to pdf php
- filename php
- PHP found in
- config cache clear laravel
- date('c') php
- displaying current date in php
- check for str in str php
- find a word in string php
- Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file:
- PHP Warning
- e_notice in php
- clear cache in laravel in windows cmd
- Assume that a database connection is established using a PDO object named $db
- data:image/png;base64 php
- "Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) +laravel"
- base64 encode image php
- aptitude install php7.4