How to generate a download list of year, month and day in php
This example describes how to generate a download list of year, month and day in PHP. Share it with everyone for your reference. The specific implementation method is as follows:
The code is as follows:
Function mdy($mid = "month", $did = "day", $yid = "year", $mval, $dval, $yval)
{
if(empty($mval)) $mval = date("m");
if(empty($dval)) $dval = date("d");
if(empty($yval)) $yval = date("Y");
$months = array(1 => "January", 2 => "February", 3 => "March", 4 => "April", 5 => "May", 6 = > "June", 7 => "July", 8 => "August", 9 => "September", 10 => "October", 11 => "November", 12 => "December");
$out = " ";
$out .= " ";
$out .= "";
return $out;
}
I hope this article will be helpful to everyone’s JavaScript programming design.