Using the PHP date()
function, or any other underlining function like cal_days_in_month
, how would I print each day in a specific month?
Thank ye, thank ye!
I would like some sort of output like this:
(maybe done with a foreach
loop?)
...whatever day name starts the month
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
Monday
Tuesday
...ect
until end of month