$data=''; phph
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:
- create a new larave blank l project
- ajax to php call
- apache 2 lib php 7.4
- check input value is integer or not in php
- eloquent relationships
- dte fucntion parameters in php
- display errors in php
- Allowed memory size of 134217728 bytes exhausted in php 7 linux
- clean laravel
- display errors + php
- find current date in php
- clear route cache laravel 5.1
- clear cache in laravel
- best data structure in php for a unique values
- factoring and seeding in laravel
- combine two query value in laravel 8
- PHP Fatal error: Uncaught Error: Call to undefined function curl_init
- check if words are available in string in php
- find array key in php
- How to Delete Multiple Records using Checkbox in Laravel
- afficher la date en php
- current data in php
- activity log spatie
- catch exception php