date php day of wekk
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:
- current date in phph
- check if key is in array php
- !strpos() php
- file_get_contents('php //input')
- date in php in dats
- array ket exists
- The PHP __________ function formats a timestamp to a more readable time.
- buddypress author link
- Extra header element 'From' cannot be other than string or array. in
- check if string not contains php
- debug native php
- "Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleWatchGraph.php on line 52"
- cakephp find_in_set
- disable errors in php
- Call to undefined method Illuminate\Session\Store::set()
- PHP string mask day-year
- divi layout injector shortcode module in function php file
- chekck type of php
- blade php code
- dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.64.dylib Referenced from: /usr/local/bin/php Reason: image not found zsh: abort bin/console sw:cache:clear
- array deduplicate in php
- artisan composer install
- april 6 2010 date format php
- check if string contains specific string php