This repository has been archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddemp.php
55 lines (52 loc) · 1.43 KB
/
addemp.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
<html>
<head>
<meta charset="UTF-8">
<title>
Web Technologies 1 - Lab Ex1
</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="header">
<p>
<a href="index.php">Home</a>
<a href="listemp.php">List Employees</a>
<a href="addemp.php">Add Employee</a>
<a href="editemp.php">Edit Employee</a>
<a href="deleteemp.php">Delete Employee</a>
</p>
</div>
<div id="content">
<p>
<form action="db/add.php" method="POST" class="codecontainer">
First Name:<br>
<input type="text" name="emp_fname" required><br>
Last Name:<br>
<input type="text" name="emp_lname" required><br>
Middle Name:<br>
<input type="text" name="emp_mname"><br>
Gender:<br>
<input type="text" name="emp_gender" required><br>
Job Title:<br>
<select name="job" required>
<option value="">Select Job</option>
<?php include 'include/lists.php'; $jobs = jobList(); ?>
</select>
<br><br>
<input type="submit" value="Submit">
</form>
</p>
</div>
<div id="footer">
<p>
©2015 Patrick Cariño | Asia Pacific College | BSCSIT - CNE
</p>
</div>
<br><br>
<body>
</html>