day of week by date 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:
- date add one day php
- creating laravel website
- alert js in php
- clear cache laravel ubuntu terminal
- LARAVEL DISABLE LOGIN REGISTER ROUTEA
- close register of members laravel
- check if substring present in string in php
- create random unique password with php
- create laravel 6 project
- add month from date php
- fget length of string php
- PHP string mask day-year
- codeigniter transaction last insrted id
- check whether key exists in associative array php
- date format H:i:s php
- enable php error output
- cpanel email to email send with php
- brew php version
- date now in php
- check if index of array exists php
- bind in pdo
- count letters in string php
- composer require laravel
- check if sting contains word php