-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.php
67 lines (61 loc) · 2.02 KB
/
register.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
<?php include "layouts/header3.php"; ?>
<style>
h2{
color:white;
}
label{
color:white;
}
.container {
margin-top: 5%;
width: 50%;
background-color: #26262b9e;
padding-top:2%;
padding-bottom:2%;
}
.btn-primary {
background-color: #673AB7;
}
</style>
<div class="container">
<center><h2>Registration form</h2></center></br>
<form class="form-horizontal" method="post" action="add_user.php">
<div class="form-group">
<label class="control-label col-sm-2 col-sm-offset-2" for="name">Name:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="name" placeholder="Enter name" name="name" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 col-sm-offset-2" for="email">Email:</label>
<div class="col-sm-5">
<input type="email" class="form-control" id="email" placeholder="Enter email" name="email" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 col-sm-offset-2" for="pwd">Password:</label>
<div class="col-sm-5">
<input type="password" class="form-control" id="pwd" placeholder="Enter password" name="password" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 col-sm-offset-2" for="number">Number:</label>
<div class="col-sm-5">
<input type="text" class="form-control" id="number" placeholder="Enter number" name="number" required>
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-2 col-sm-offset-2" for="name">Address:</label>
<div class="col-sm-5">
<textarea class="form-control" id="address" placeholder="Enter Address" name="address" required></textarea>
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-4 col-sm-8">
<button type="submit" class="btn btn-primary">Sign Up</button>
</div>
</div>
</form>
</div>
</body>
</html>