Question
Note 1: Write an HTML document to create a form that collects favorite popular songs, including the name of the song, the composer and the
Note 1: Write an HTML document to create a form that collects favorite popular songs, including the name of the song, the composer and the performing artist or group. This form must call one PHP script (that you will write in Question 2) when the form is submitted. The HTML document you are writing in question 1 will also have a link to another PHP script (that you will write in Note 3) that will display list of survey results.
Note 2: Write the PHP script that collects the data from the form in Note 1 and write it to a text file. Check that you are not allowing empty values to be written to the text file. In addition to writing to the file, the PHP script should display a thank you message to the user and have a link to send the user back to the HTML document in Note 1.
Note 3: Write the PHP script that reads the text file to which Note 2s PHP writes to and displays all the survey results gathered so far.
Note 4: Write an HTML document to provide a form that collects students names and campus IDs. Campus IDs must be in the format two letters followed by 4 numbers. Write a PHP script that checks the submitted campus ID to be sure that it matches the required format. The PHP program should say Campus ID was in correct format if format matched, otherwise, it should display a message saying Campus ID was incorrect. Go back and re-enter name and campus ID
Note 5: You should implement some CSS in these pages. You can have the same CSS for all the HTML pages in the exercises. In the CSS, you should: 1. Center the text in the middle of the browser using div tags and the margin CSS property 2. Use at least one CSS class selector and one CSS generic selector in your programs 3. Use the 5 CSS properties. You can give values of your choice.
Avoid using loud backgrounds that make text difficult to read
-background-color
-border
-font-family
-font-style
-padding
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started