Challenges

Challenges

  1. Write a Web page that asks the user for first and last name, then uses a PHP script to write a form letter to that person. Inform the user he or she might be a millionaire.

  2. Write a custom Web page that uses the "embedded data" tricks described in this chapter to generate custom links for your favorite Web searches, local news and weather, and other elements of interest to you.

  3. Write your own story game. Find or write some text to modify, create an appropriate input form, and output the story with a PHP script.