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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 16:20, Aleja9
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
image
Computers and Technology, 22.06.2019 19:20, SundaeSunday
Consider the following code snippet: #ifndef cashregister_h#define cashregister_hconst double max_balance = 6000000.0; class cashregister{public: cashregister(); cashregister(double new_balance); void set_balance(double new_balance); double get_balance() const; private: double balance[12]; }; double get_monthly_balance(cashregister bk, int month); #endifwhich of the following is correct? a)the header file is correct as given. b)the definition of max_balance should be removed since header files should not contain constants. c)the definition of cashregister should be removed since header files should not contain class definitions. d)the body of the get_monthly_balance function should be added to the header file.
Answers: 1
image
Computers and Technology, 23.06.2019 15:20, headshotplayzcod
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, kkruvc
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
You know the right answer?
This is written completely in HTML and PHP. ADDING A PERSONALIZED WELCOME MESSAGE (SEE CHAPTER 3) [...

Questions in other subjects:

Konu
History, 23.04.2021 17:30
Konu
Mathematics, 23.04.2021 17:30