Home  >  Article  >  Backend Development  >  PHP automatically generates monthly calendar code sharing_PHP tutorial

PHP automatically generates monthly calendar code sharing_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:28:06890browse

P"); print("

".strftime("%b %Y",mktime (0,0,0,$MM,1,$YYYY)).""); print("N"); print(""); print("Sun Mon Tue Wed Thu Fri Sat"); $currentDays = 1; for($a=1;$a$lastDay && $currentDays ==1 && ($diffDays1)){ for($x=$lastDay;$x>=0;$x--){ $printDays = $days-$x; print("$printDays"); } for($z=1;$z

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/531824.htmlTechArticleP ); print( .strftime(%b %Y,mktime (0,0,0,$MM,1,$YYYY)). ); print( N ); print(); print( Sun Mon Tue Wed Thu Fri Sat ); $currentDays = 1; for($a=1;$a $lastDay $currentDays ==1 ($dif...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn