Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (2 points) Create an HTML form that accepts the user's first name, last name, an email id and a web address of CSN. 2.

image text in transcribed
image text in transcribed
1. (2 points) Create an HTML form that accepts the user's first name, last name, an email id and a web address of CSN. 2. (4 points) Create a PHP response page that checks if the email entered by the user is a .edu account. 3. (8 points)If the email entered by the user does not have a .edu account o use a PHP function to trim to remove extra spaces from the first and last names. o use a PHP function to change the first and last name to all lower case. o use PHP function to make sure that the length of the first name and last name is more than 1 if not then display the message asking the user to enter their first and last name again. o If the previous three conditions are satisfied then combine the first and the last name with a . in the middle and then add myschool.edu and then display the new email id to the user like this: example: Your new email id is jane.doe@myschool.edu 4. (2 points)In the php response page o edit the following code to specify that $total is a floating point number with two decimal places after the decimal point. printf ("Total amount of order is __", $total); 5. (4 points) In the php response page use preg_match function to check if the web address of CSN contains "https://" then display the message "Thank you for sharing the web address", if not then display the message, "Incorrect Web address

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

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

Distinguish between filtering and interpreting. (Objective 2)

Answered: 1 week ago