Get all months in php
for ($m=1; $m<=12; $m++)
{
$month = date(‘F’, mktime(0,0,0,$m, 1, date(‘Y’)));
echo $month;
}
How to get all months in php?
wpcodekit Website Designers is one of the best website designing company in punjab 2020. We create beautiful looking, fast and secure websites.We are create professional websites in punjab since 2016.