Question: A) Create a PHP page that accepts two parameters in the URL: firstName and lastName . Have the script write a Hello message using the

A) Create a PHP page that accepts two parameters in the URL: firstName and lastName. Have the script write a "Hello" message using the name provided by the user. Error checking must be done in the following ways:

-If the first name is set and not blank, but the last name is not set or is blank, display a welcome message using only their first name.

-Firstname NoLastName

-If the last name is set and not blank, but the first name is not set or is blank, display a generic welcome message.

-If neither name is set, or if they are both blank, display a generic welcome message

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!