Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Task 1 1) Create an initial HTML page titled manager .html with 2 buttons. The f

ID: 3777499 • Letter: T

Question

Task 1 1) Create an initial HTML page titled manager .html with 2 buttons. The first button will be labeled "View Employees", and the second button will be labeled "Add Employee The first button should link to a file titled view emps The second button should link to a file titled add emp.html 2) Create the view emps hp file. This file should generate an html page that contains a table that lists all of the employees in the staff table from the sakila database. You should list the following information about each staff member: last name, first name, address (include city, district, country, and postal code), email address, and phone number. This page should have a button that returns you to the manager page. Task 2 1) Create the add emp .html file. It should have a form with text boxes to input the following information about a new employee: first name, last name, email, store id (drop down list with value 1 and 2 only options), address, city, district, postal code, phone. For the city field you will be inputting a city id#, not an actual city name. I am doing this to simplify the assignment. You will need two buttons on this page, save and cancel. The save button will need to insert the employee information into the database as described below (by linking to a file titled insertEmployee.php), display a message stating whether the query was successful or not and display button to return to themanager.html page. The cancel button will simply need to return to the manager page.

Explanation / Answer

Manager.html

<html>
<head>
<title>Manager.html</title>
</head>
<body><form>
<input type=button value='View Employess'/>
<br>
<input type=button value='Add Employess'/>
<br>
</form>
</body>
</html>

View_emps.php

<html>
<head>
<title>View Employees</title>
</head>
<body><form>

<table>
<tr>
<th>LastName</th>
<th>FirstName</th>
<th>city</th>
<th>district</th>
<th>Country</th>
<th>Email Address</th>
<th>phone Number</th>
</tr>
<tr>
<!--
Add the data accordingly
-->
</tr>
</table>


<br>
<input type=button value='home page'/>
<br>
</form>
</body>
</html>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote