Create a welcome message for new users signing up on a web portal. Your job involves taking two given strings: a user’s first name and last name. Combine these two strings to form the full name and display the following welcome message:
Welcome to our web portal, full name!
You also need to analyze this welcome message for various purposes:
Determine the length of the message,
Count the number of words,
Reverse the message for a fun effect, and
Replace the word “Welcome” with the word “Hello”.
Example:
Consider the first name “John” and the last name “Doe”. The expected output would be:
Welcome Message: Welcome to our web portal, John Doe!
Length of Welcome Message: 40
Word Count of Welcome Message: 7
Reversed Welcome Message: !eoD nhoJ ,latrop bew ruo ot emocleW
Modified Welcome Message: Hello to our web portal, John Doe!
Marking Criteria
PHP code 2 marks
Screenshots 1 mark
PHP code 1 mark
Screenshots 1 mark
HTML form 1 mark
PHP code 1 mark
Screenshots 1 mark
Answer
2 Marks
Learning Outcome(s):
Build web applications using PHP and MySQL
Question Two
Create a PHP script to manage and display student names and their respective grades for the IT405 course. The script should:
Create two arrays: one with student names and one with their corresponding grades.
Display the content of these arrays in an HTML table with two columns: “Name” and “Grade”. The number of rows in the table should match the length of the arrays.
Last Completed Projects
topic title | academic level | Writer | delivered |
---|---|---|---|
Prepare a set of nonfunctional requirements, including a) operational requirements, b) performance requirements, c) security requirements, and d) cultural and political requirements. Note: Much information is incomplete but do your best. | Senior (4th year) | Yosef K. 4.5 ★★★★☆ | 4 hours 54 min 30 sec ago |
Choose 5 things in the Black American texts/videos that resonate with you from at least TWO different materials (NOT the definitions slides). | Master's | Oliver A. 4.7 ★★★★☆ | 8 hours 25 min 35 sec ago |
Using the "PICOT Question" template, formulate a PICOT question applying the PICOT format that addresses the approved clinical nursing problem from Topic 2. | Doctoral | Seth E. 4.9 ★★★★☆ | 8 hours 20 min 7 sec ago |
Identify and evaluate the significant trade agreements affecting global commerce | Doctoral | Garrett S. 4.8 ★★★★☆ | 7 hours 6 min 26 sec ago |
What information about diversity in the United States has helped you better understand or relate to others in ways that you may not have in the past? | Doctoral | George S. 4.5 ★★★★☆ | 5 hours 15 min 14 sec ago |
Communication Channel Selection-Marketing teams must analyze various communication channels to determine the best fit for their product or service. | Master's | Daisy P. 4.6 ★★★★☆ | 1 hours 37 min 30 sec ago |
Write your final mission statement and newly developed strategies for your classmates to review. | Doctoral | Vivian G. 4.6 ★★★★☆ | 2 hours 14 min 1 sec ago |