Sprinkling PHP within an HTML Document
Using the PHP to Output All HTML
Separating HTML from PHP
Creating <SELECT> Fields
Passing Arrays in Forms
By this time, you have learned the basics of PHP. You have a reference for the functions. And you've been introduced to some fundamental problems of programming. But all the examples I've shown have been pieces, snippets for the sake of illustration. This chapter will discuss how to integrate PHP into a Web site. It will help you decide whether to build a site completely with PHP, to sprinkle PHP throughout the site, or to simply create a few key PHP-driven pages. I'll also discuss issues involved in using PHP to generate HTML.