3. Creating Dynamic Web Sites

In This Chapter

Including Multiple Files 76

Handling HTML Forms, Revisited 85

Making Sticky Forms 91

Creating Your Own Functions 95

Review and Pursue 110

With the fundamentals of PHP under your belt, it’s time to begin building truly dynamic Web sites. Dynamic Web sites, as opposed to the static ones on which the Web was first built, are easier to maintain, are more responsive to users, and can alter their content in response to differing situations. This chapter introduces three new ideas, all commonly used to create more sophisticated Web applications (Chapter 11, “Web Application Development,” covers another handful of topics along these same lines).

The first subject involves using external files. This is an ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.