Search
 
SCRIPT & CODE EXAMPLE
 

PHP

year dropdown loop in php

foreach(range(2014, 2015) as $year){
    foreach(range(1, 12) as $month){
        echo date('Y.m.d', strtotime('Last day of ' . date('F', strtotime($year . '-' . $month . '-01')) . $year)) . PHP_EOL;
    }
}
Comment

PREVIOUS NEXT
Code Example
Php :: Alternatively, you may set the environment variables ONIG_CFLAGS and ONIG_LIBS to avoid the need to call pkg-config. 
Php :: permutation and combination program in php 
Php :: append variable into string php 
Php :: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://D:/Program Files/Composer - PHP/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223 
Php :: how to import in laravel excel command 
Php :: Uncaught jquery-numerator requires jQuery to be loaded first wordpress 
Php :: Update page template and remove page editor in wordpress 
Php :: curl_setopt_array php 
Php :: remove duplicate characters in a string in php 
Php :: php edit link 
Php :: php get locale active 
Php :: Get PHP String Length 
Php :: wc php get product id image gellery 
Php :: woocommerce php reset password length 
Php :: php get today at 3pm 
Php :: php pass 2 date value to javascript 
Php :: PHP - AJAX and MySQL 
Php :: php pdo delete 
Php :: Save image to custom meta box 
Php :: woocommerce_product_is_on_sale filter 
Php :: @admin @endadmin 
Php :: php call non static method from static method 
Php :: sometimes validation in laravel 
Php :: use htaccess to redirect in cpanel laravel 
Php :: php using composer autoload 
Php :: how to make trait in laravel 
Php :: document ready wordpress 
Php :: dompdf php 8 
Php :: php dump to page 
Php :: delete a migration laravel 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =