-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
50 lines (38 loc) · 827 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel= "stylesheet" type ="text/css" href="style.css">
</head>
<body>
<?php
$dayofWeek = date('w');
switch($dayofWeek)
{
case 0:
echo "<p>Sunday</p>";
break;
case 1:
echo "<p>Monday</p>";
break;
case 2:
echo "<p>Tuesday</p>";
break;
case 3:
echo "<p>Wednesday<p>";
break;
case 4:
echo "<p>Thursday</p>";
break;
case 5:
echo "<p>Friday</p>";
break;
case 6:
echo "<p>Saturday</p>";
break;
}
?>
</body>
</html>