最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
PHP教程.经验技巧
时间:2022-07-02 10:23:40 编辑:袖梨 来源:一聚教程网
for的高级运用
>
for的高级运用
/*
** 打印必要的说明文字
*/
print("距离星期一还有几天? ");
print("
?>
>
/*
** 打印必要的说明文字
*/
print("距离星期一还有几天? ");
print("
-
");
- " . date("l", $currentDate) . "
");
}
print("
for($currentDate = date("U"); //定义$currentDate时间格式
date("l", $currentDate) != "Monday"; //判断是不是当前系统时间是Monday
$currentDate += (60 * 60 * 24))//当前时间加上1天
{
/*
** 打印时间名称
*/
print("
?>
相关文章
- 植物大战僵尸怎么创建新账号 03-31
- 谷歌浏览器怎样进行安全检查 03-31
- 钉钉群公告无法修改怎么办 03-31
- 作业帮网页版入口手机版在哪 03-31
- 凡文阅读如何使用 03-31
- PPT里图片怎么批量保存 03-31