-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.php
84 lines (84 loc) · 2.32 KB
/
registration.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
include ("header.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="css/registration.css">
</head>
<body>
<h1>Registration Form</h1>
<hr>
<form method='POST' action='register.php'>
<table align="center">
<tr>
<td>First Name:</td>
<td><input type="text" name="firstname" size="25"></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="lastname" size="25"></td>
</tr>
<tr>
<td>Age:</td>
<td><select name="agerange" size="1">
<option>Under 18</option>
<option>18 - 24</option>
<option>25 - 34</option>
<option>35 - 44</option>
<option>45 - 54</option>
<option>55 - 64</option>
<option>65 and older</option>
</select> </td>
</tr>
<tr>
<td>Sex:</td>
<td><input type="radio" name="sex" value="Male">Male
<input type="radio" name="sex" value="Female">Female
</td>
</tr>
<tr>
<td>Phone Number:</td>
<td>
<input type="text" name="phone" size="25" maxlength="15" placeholder="+XX-XXX-XXXXXXX"></td>
</tr>
<tr>
<td>E-mail:</td>
<td><input type="text" name="email" size="25" placeholder="name@example.com"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td>Password:</td>
<td><input type="password" name="password" placeholder="at least 8 characters" size="20" maxlength="20"></td>
</tr>
<tr>
<td>Confirm password:</td>
<td>
<input type="password" name="confirmpassword" size="20" maxlength="20"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><input type="checkbox" name="specialoffers" value=" "></td>
<td>Check the box to receive special offers from us via email</td>
</tr>
<tr>
<td><input type="submit" class="submit" value="Submit Registration Information"></td>
</tr>
</table>
</form>
<hr>
<div align="center" style="margin-top:10%">
<?php
include ("footer.php");
?>
</div>
</body>
</html>