-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.php
47 lines (44 loc) · 1.09 KB
/
update.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
<h1>Update List</h1>
<form action="update2.php" method="post">
<label>Employee-Id</label>
<input type="number" name="eno" required><br>
<label>Name</label>
<input type="text" name="name" required><br>
<label>Department</label>
<input type="text" name="dept" required><br>
<label>Salary</label>
<input type="number" name="salary" required><br>
<button id="update">Update</button>
</form>
<a href="Home.php" id="k"><button>Back</button></a>
<style>
h1{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
color: green;
text-align: center;
}
label{
position: relative;
font-size: 30px;
right: -600px;
font-family: sans-serif;
}
#k{
position: absolute;
margin-top: 30px;
background-color: red;
color: white;
}
button{
position: absolute;
left: 750px;
margin-top: 30px;
background-color: green;
color: white;
}
input{
margin-top: 10px;
position: absolute;
left: 55%;
}
</style>