<?php
header("Content-type:text/html;charset=utf-8");
$t = date('H');
if ($t<20) {
echo "have a good day";
}else{
echo 'have a good night!';
}
?>
<?php
header("Content-type:text/html;charset=utf-8");
$t = date('H');
if ($t<20) {
echo "have a good day";
}else{
echo 'have a good night!';
}
?>
本文标题:8.if语句
本文链接:https://www.haomeiwen.com/subject/xkpncrtx.html
网友评论