-
Notifications
You must be signed in to change notification settings - Fork 0
/
PhpSurvey.html
57 lines (50 loc) · 1.4 KB
/
PhpSurvey.html
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
51
52
53
54
55
56
57
<html>
<head>
<title>PHP SURVEY</title>
<meta charset="utf-8"/>
<style>
body {
background-color: whitesmoke;
}
h1 {
color: red;
text-align: center;
font-family: "Magneto";
}
</style>
</head>
<body>
<center>
<H1>PHP SURVEY</H1>
<form action="PhpSurvey.php" method="post">
<legend>Do you like balloons?</legend>
<p>
<input type="radio" name="balloon" value="1"/> Yes
<input type="radio" name="balloon" value="0"/> No<br/>
</p>
<legend>Do you like cake?</legend>
<p>
<input type="radio" name="cake" value="1"/> Yes
<input type="radio" name="cake" value="0"/> No<br/>
</p>
<legend>Do you like presents?</legend>
<p>
<input type="radio" name="presents" value="1"/> Yes
<input type="radio" name="presents" value="0"/> No<br/>
</p>
<legend>Do you like clowns?</legend>
<p>
<input type="radio" name="clowns" value="1"/> Yes
<input type="radio" name="clowns" value="0"/> No<br/>
</p>
<p align="center"><input type="submit" name="submit" value="Submit Form"/></p>
</form>
<form action="displayResults.php" method="post">
<p align="center"><input type="submit" name="submit" value="View Results Without Voting"/></p>
</form>
<a href="index.html">
<h3>Home</h3>
</a>
</center>
</body>
</html>