//四季*月份
function siji($y){
switch ($y){
case "1":
$sj="冬";
break;
case "2":
$sj="冬";
break;
case "3":
$sj="春";
break;
case "4":
$sj="春";
break;
case "5":
$sj="春";
break;
case "6":
$sj="夏";
break;
case "7":
$sj="夏";
break;
case "8":
$sj="夏";
break;
case "9":
$sj="秋";
break;
case "10":
$sj="秋";
break;
case "11":
$sj="秋";
break;
case "12":
$sj="冬";
break;
}
return $sj;
}
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询