Question: 1. Create a PHP file that has a form that asks the user to enter First name and Last name Email address Assignment 1 Grade

1. Create a PHP file that has a form that asks the user to enter First name and Last name Email address Assignment 1 Grade (in points) Assignment 2 Grade (in points) Assignment 3 Grade (in points) Assignment 4 Grade (in points) Assignment 5 Grade (in points)

2. Create a PHP page called header.php that prints Welcome to my page within tags followed by a tag.

3. Create a PHP page called footer.php that displays your name within followed by a tag.

4. Once the user clicks the Submit button. The response should be like this: it uses the include function to include the header.php and uses the include function to include the footer.php. Save the data entered by the user in a text file only if the user has entered all the information in the form and integers for the grades. Hello first name user inputs. Thank you for entering the data. Make sure that the email entered by the user contains mail.com, if not then display an error message Wrong email, and if the email contains mail.com then display a message saying Correct email. Display the grades in the ascending order. Your maximum grade is: maximum grade input by the user. Use a For loop to print out as many number of stars (*) as the number for maximum grade. Your minimum grade is: minimum grade input by the user. The average grade is: Average grade. (Create and use a function that takes the total of the five grades and return the average)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!