After following, you can keep track of his dynamic information in a timely manner
Courses in the relevant section:PHP flow control if statement
$year = $_GET['year']; if (!is_numeric($year)) { exit('請輸入數字的年份'); } if (($year%4==0 && $year%100!=0) || $year%400==0) { echo "閏年"; } else { echo "平年"; }
2021-01-120個贊