Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help making the PHP page below. I've included images of the starting file but I haven't made much progress. undefined Part 1: Validating

I need help making the PHP page below. I've included images of the starting file but I haven't made much progress.image text in transcribedundefined

image text in transcribed

image text in transcribed

Part 1: Validating User Input Use improveGPA.php as a starting point for your PHP page. Note that there is currently no PHP code in the file. You will need to add code to check that each of the fields has user input and that the input for each field is the correct type (email, integer, floating point, etc.). Prompt the user for correct input if a field is empty, contains the wrong type, or contains a value that is out-of-range. Below is an example of the error messages. Notice that once an input is entered in a form field, that value is retained and shown along with any error messages. This gives the user a chance to recognize and correct their mistakes. All Error Messages: GPA Improv nt Calculator All form fields must be completed for the GPA calculator to function. Name: Your name must consist of letters and white space E-mail: Invalid email format I agree to the terms and conditions of this website. You must agree to the terms and conditions Current GPA: Your current GPA must be a number between 0.0 and 4.0 Current Total Credits: Your current number of credits must be a positive integer I am taking (the number of credits this semester an integer greater than 0) credits this semester. If I want to (your desired GPA increase must be a positive value) points, I need a ???? GPA on my courses raise my GPA this semester. Calculate 1 improveGPA.php GPA Improvement Calculator 11

GPA Improvement Calculator

All form fields must be completed for the GPA calculator to function.

Name: E-mail: Current GPA: Current Total Credits: 37 38 Current Total Credits: 39 40 41 I am taking credits this semester. 42 43 44 45 46 If I want to raise my GPA points, I need a ???? GPA on my courses this semester. 47 48 49 50 51 52
53 54 55 56

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DATABASE Administrator Make A Difference

Authors: Mohciine Elmourabit

1st Edition

B0CGM7XG75, 978-1722657802

More Books

Students also viewed these Databases questions