how to create array of a week days name in php
- by I Like PHP
i want to create an array of 7 days through php
means all 7 days name...
i don't want to write ..sunday monday tuesday...etc...
and days will be started from sunday ..
means if today is 29 march( monday) then it automatically grabs the current date and create an array of days name starting from sunday.
array always be in this way
$weakarray=("sunday","monday",......,"saturday");