With your first PHP script under your belt, you’ve made some real progress. But that PHP script might not have been what you expected. Most web developers don’t fall asleep at night dreaming of seeing this in a terminal window:
Hello there. So I hear you're learning to be a PHP programmer! Why don't you type in your name for me: Brett Thanks, Brett, it's really nice to meet you.
Even less impressive than its complexity (or lack thereof) is the script’s format. It’s just plain text. There’s no formatting; in other words, no HTML.
In this chapter, you’re going to inject HTML into your scripts. No command-line prompts and boring text. By the time you’re through, your script will be speaking the language of the Web—HTML. In addition, you’ll see how PHP does one of its core tasks: respond to an HTML form.
In the process, you probably also built some syntax categories. Your HTML is angle brackets,
<ul>, and the like. CSS is curly braces and style keywords like