-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration_form.php
84 lines (72 loc) · 2.44 KB
/
registration_form.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
<!DOCTYPE html>
<html>
<head>
<title>Online Store - Registration</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.registration-container {
width: 300px;
border: 1px solid #ccc;
padding: 20px;
text-align: center;
}
.registration-container label {
display: block;
text-align: left;
margin-bottom: 5px;
}
.registration-container input[type="text"],
.registration-container input[type="email"],
.registration-container input[type="password"] {
width: 90%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ccc;
border-radius: 4px;
}
.registration-container input[type="submit"] {
width: 100%;
background-color: #4CAF50;
color: #fff;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
}
.registration-container p {
margin-top: 15px;
}
.registration-container p a {
color: #4CAF50;
}
</style>
</head>
<body>
<div class="registration-container">
<h1>Register as a New Customer</h1>
<form action="register_customer.php" method="post">
<label for="first_name">First Name:</label>
<input type="text" id="first_name" name="first_name" required>
<label for="last_name">Last Name:</label>
<input type="text" id="last_name" name="last_name" required>
<label for="delivery_address">Delivery Address:</label>
<input type="text" id="delivery_address" name="delivery_address" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="phone_number">Phone Number:</label>
<input type="text" id="phone_number" name="phone_number" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<input type="submit" value="Register">
</form>
<p>Already have an account? <a href="login.php">Login here</a></p>
</div>
</body>
</html>