Computers and Technology

Paycheck Calculator PHP
In this assignment you need to create a form to allow the user to enter employee’s name, pay rate, and weekly hours work. That information will be sent to a PHP script that will process and display the employee’s paycheck information.
Your assignment should have two pages. The first page is straight html (user_input. html) that has a form with the appropriate form elements to collect the user input. The form should then be submitted using the POST method to a PHP script (display_paycheck. php) that will process the user input. Screenshot of the user_input. html file (The first page that is straight html).
The PHP script (display_paycheck. php) will receive the user input, assign it to variables, calculate and display the following pay check information:
Please enter employee info
First Name: John
Last Name: Doe
Weekly Hours Worked 40
Hourly Rate 10.75
 Gross Pay (hours worked times pay rate)
 Federal Taxes (10.65% of Gross Pay)
 State Taxes (4% of Gross Pay)
 Social Security Taxes (3.8% of Gross Pay)
 Medicare (1.3% of Gross Pay)
 Total Taxes (Federal + State + Social Security + Medicare)
 Net Pay (Gross Pay – Total Taxes
For all the above calculations, will be assigned to variables that have descriptive names. The PHP script should calculate and display the results in the following format. Notice that the left column of the table is in bold and left justified, and the right column is right justified. There is also a link to return back to the user_input. html page. Screenshot of the results that the second page (display_paycheck. php script) produces

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 20:30, fickllyd000
In this lab, you complete a prewritten c program that calculates an employee’s productivity bonus and prints the employee’s name and bonus. bonuses are calculated based on an employee’s productivity score as shown below. a productivity score is calculated by first dividing an employee’s transactions dollar value by the number of transactions and then dividing the result by the number of shifts worked.
Answers: 3
image
Computers and Technology, 23.06.2019 16:00, ginaaa20
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, bellamyciana
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
image
Computers and Technology, 24.06.2019 18:30, shemiahking5432
Jacking is a crime that takes place when a hacker misdirects url to a different site. the link itself looks safe, but the user is directed to an unsafe page
Answers: 1
Do you know the correct answer?
Paycheck Calculator PHP
In this assignment you need to create a form to allow the user to ent...

Questions in other subjects:

Konu
Mathematics, 08.09.2020 18:01
Konu
Mathematics, 08.09.2020 18:01
Konu
Biology, 08.09.2020 18:01