php+Mysql+dreamweaver动态网站开发 书本案例中试题怎样做吖?

2024-12-16 00:37:00
推荐回答(1个)
回答1:

还需要安装apache
然后在根目录创建一个php文件,例如:index.php
在文件中写:
echo date('Y年m月d日 H时i分s秒');
echo “
”;

$weekarray=array("日","一","二","三","四","五","六"); //先定义一个数组
echo "星期".$weekarray[date("w")];
$today = getdate();
$tmonth = $today['mon'];
switch ($tmonth){
case

}