O'Reilly logo

Core PHP Programming: Using PHP to Build Dynamic Web Sites by Leon Atkinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 20. INTEGRATION WITH HTML

Topics in This Chapter

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required