subject

This is written completely in HTML and PHP. ADDING A PERSONALIZED WELCOME MESSAGE (SEE CHAPTER 3) [0-10 POINTS]
Add a personalized welcome message to the main pages of your web site (in the header portion of it) using an html form and php code that prompts the user for the first name and last name and then outputs "Welcome to my site, Professor!" if the first name entered is your professor’s first name and the last name entered is your professor’s last name. Otherwise, output "Welcome to my site, first name last name!". The name should be permanent on all pages of the site in the header portion. You will need to create a name. html file and a name. php file in the includes folder for this part of the project to add this code. You are also expected to do validation on the inputs.
ADDING AND DELETING A NEW USER (SEE CHAPTER 4) [0-10 POINTS]
1. (0-5 points) Add a new link after the last query called Add Employee on the main page that will open an html form to prompt the user for information needed to add a new user to the employees table. Take the information entered and add the new user to the employees table. Do a SQL select query on this newly added user (only) to verify it worked (using employee_ID) and output the results for this user only. You should obtain the next available primary key value (i. e., incremented from the current highest value) via code and not allow the user to enter this in the form. Do a SQL select query after the insert to verify it worked. Add the appropriate files to the includes folder for this part of the project. Be sure to ask for input for all attributes. Remember to validate your inputs on your form!
2. (0-5 points) Add a new link after #1 above called Delete Employee on the main page that will open an html form to prompt the user for information needed that will allow them to delete a user from the employees table. The delete should be done using the Primary Key of the user. Once the user enters this key, output all other field values in the employees table for that user and ask them to verify it is the correct user, then check response and either delete the user or don’t, based on their response. Do a SQL select query before and after the delete to verify it worked (last query should show no results). Give the user confirmation that it worked. Add the appropriate files to the includes folder for this part of the project.
ADDING A PERSONALIZED WELCOME MESSAGE (SEE CHAPTER 3) [0-10 POINTS]
Add a personalized welcome message to the main pages of your web site (in the header portion of it) using an html form and php code that prompts the user for the first name and last name and then outputs "Welcome to my site, Professor!" if the first name entered is your professor’s first name and the last name entered is your professor’s last name. Otherwise, output "Welcome to my site, first name last name!". The name should be permanent on all pages of the site in the header portion. You will need to create a name. html file and a name. php file in the includes folder for this part of the project to add this code. You are also expected to do validation on the inputs.
ADDING AND DELETING A NEW USER (SEE CHAPTER 4) [0-10 POINTS]
1. (0-5 points) Add a new link after the last query called Add Employee on the main page that will open an html form to prompt the user for information needed to add a new user to the employees table. Take the information entered and add the new user to the employees table. Do a SQL select query on this newly added user (only) to verify it worked (using employee_ID) and output the results for this user only. You should obtain the next available primary key value (i. e., incremented from the current highest value) via code and not allow the user to enter this in the form. Do a SQL select query after the insert to verify it worked. Add the appropriate files to the includes folder for this part of the project. Be sure to ask for input for all attributes. Remember to validate your inputs on your form!
2. (0-5 points) Add a new link after #1 above called Delete Employee on the main page that will open an html form to prompt the user for information needed that will allow them to delete a user from the employees table. The delete should be done using the Primary Key of the user. Once the user enters this key, output all other field values in the employees table for that user and ask them to verify it is the correct user, then check response and either delete the user or don’t, based on their response. Do a SQL select query before and after the delete to verify it worked (last query should show no results). Give the user confirmation that it worked. Add the appropriate files to the includes folder for this part of the project.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
What best describes a career pathway in a lodging career? a worker starts out as an amusement attendant, then becomes a recreation worker, and then becomes a gaming worker within five years. a worker starts out as a bell hop, then becomes a night clerk, and then becomes a hotel manager within five years. a worker starting out as a tour guide, then becomes a travel clerk, and then becomes a travel agent within five years. a worker starts out as a server, then becomes a food preparer, and then becomes a head chef within five years.
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 21:30
Examine the list below. which factors positively affect lifetime income? check all that apply.
Answers: 1
You know the right answer?
This is written completely in HTML and PHP. ADDING A PERSONALIZED WELCOME MESSAGE (SEE CHAPTER 3) [...
Questions
Questions on the website: 13722362