-
Notifications
You must be signed in to change notification settings - Fork 0
/
insertform.php
67 lines (67 loc) · 2.24 KB
/
insertform.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<title>Add an Employee</title>
</head>
<style type="text/css">
#insert
{
text-align: center;
margin-top: 100px;
font-family: "Trebuchet MS";
}
#button {
background-color: #4CAF50; /* Green */
border: none;
color: white;
padding: 10px 22px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
font-family: "Trebuchet MS";
}
body
{
background-image: url("cmp.jpg");
background-position: center;
background-repeat: no-repeat;
}
#col
{
color: yellow;
font-family: "Trebuchet MS";
}
</style>
<body>
<div id="col">
<hr><h1 align="center">Add an Employee</h1><hr>
<div id="insert">
<p>Fill in the following details</p>
<form action="emp_insert.php" method="GET">
Employee ID:<br>
<input type="text" name="_id"><br><br>
Employee Name:<br>
<input type="text" name="name"><br><br>
Employee Date of Birth:<br>
<input type="text" name="dob"><br><br>
Employee Date of Joining:<br>
<input type="text" name="doj"><br><br>
Designation:<br>
<input type="text" name="designation"><br><br>
Salary:<br>
<input type="text" name="salary"><br><br>
Contact:<br>
<input type="text" name="contact"><br><br>
Address:<br>
<input type="text" name="address"><br><br>
<input type="submit" name="submit" id="button" value="Submit">
</form>
</div>
</div>
</body>
</html>