I wrote this program to display the months and its corresponding days using PHP programming language.
I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details. If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.My mobile number here in the Philippines is 09173084360. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.
Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com
Sample Program Output
Program Listing
<html>
<head>
<title>Months and it's Days in PHP </title>
</head>
<style>
body {
font-family: arial;
size : 12px;
};
</style>
<body>
<h2>Months and it's Days in PHP</h2>
<?php
$months=Array("January","February","March","April","May","June","July","August","September","October","November","December");
$count=1;
foreach($months as $current_month) {
print "$current_month has ".cal_days_in_month(CAL_GREGORIAN,$count,date("Y"))." days<Br>";
$count++;
}
?>
</body>
</html>