-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path08_forms.php
More file actions
42 lines (37 loc) · 1.06 KB
/
08_forms.php
File metadata and controls
42 lines (37 loc) · 1.06 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<form action="9_process.php" method="post">
<div>
<label>Please specify your gender!</label> <br>
<input type="radio" name="gender" value="male"> Male <br>
<input type="radio" name="gender" value="female"> Female <br>
<input type="radio" name="gender" value="NA"> N/A <br>
</div>
<!-- <div>
<label for="">Name</label>
<input type="text" name="name">
</div>
<div>
<label for="">Age</label>
<input type="text" name="age">
</div>
<div>
<label for="">Do you have an email?</label>
<input type="checkbox" name="emailOption">
</div> -->
<!-- <div>
<label for="">Checkbox group</label> <br>
<input type="checkbox" name="fruits[]" value = "Apples">Apples<br>
<input type="checkbox" name="fruits[]" value = "Oranges">Oranges<br>
<input type="checkbox" name="fruits[]" value = "Grapes">Grapes<br>
</div> -->
<input type="submit" value="Submit">
</form>
</body>
</html>
<?php
?>