28 November 2019

How to get all months in php?

Get all months in php                            





for ($m=1; $m<=12; $m++) 
{
$month = date('F', mktime(0,0,0,$m, 1, date('Y')));
                                     echo $month;
                               }

No comments:

Post a Comment

How to add re-captcha v3 on all Elementor forms using coding?

 Add re-captcha v3 on all Elementor forms using coding add_action('wp_footer',function(){     ?> <script src="https://www...