Question: URGENT PLS!!! Php all required codes to solve are provided index.php DOCTYPE html > html lang = en > head > meta charset = UTF-8

Surely everyone has come across a phishing website at some point which claimed that we are the lucky one millionth visitor and we've just won a new phone. All we need do to in order to put that new phone under the Christmas tree is to enter our credit card details. Your task is to validate the form on server side (therefore HTML level validation is not satisfactory) used on such a page according to the conditions below. Hopefully the winner won't find an unplesant surprise after filling in everything correctly. - a. (1 pt) The field is required and must contain at least two words. - b. (1 pt) The field is required and must contain a formally valid e-mail address. - c. (1 pt) The field is required and its value can only be or - d. (1 pt) The (credit card number) field is required and must be exactly 19 characters long. - e. (1 pt) The (credit card number) freld must follow the format where the characters replaced by digits. - f. (1 pt) In case of incorrect input, an error message should appear next to the given field, informing about the cause of the error. - g. (1 pt) The form placed on the page should keep its state which means that the submitted values should be written back into the fields. - h. (1 pt) The div with ID and its contents should only appear in the generated HTML code if the form was submitted by the user and no errors were found during validation. TASK 2: YOU'VE JUST WON A NEW PHONE! Your full name: Your e-mail address: Choose colour: black white gold pink blue Your credit card number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
