Challenge: Showing "Congratulations!"
Explore how to create a PHP script that sets and reads cookies to remember a user's language selection for displaying a personalized congratulations message. Understand the use of query parameters and cookies to maintain state across visits, and practice making your code adaptable for multiple languages.
We'll cover the following...
We'll cover the following...
Problem statement
Here is a coding challenge that incorporates all the concepts that we have covered up to this point.
You are going to create a PHP script that shows “Congratulations!” in a language selected by the user. When you come back to the page, it should still know what language the user selected earlier. We will ...