Chapter 3. Creating Dynamic Web Sites

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 appearance based upon differing situations.

In this chapter, I’ll be covering a hodgepodge of ideas, all used to create dynamic Web applications. These include incorporating external files, writing and using your own functions, sending email, redirecting the Web browser, and using PHP’s date() function. Some of the specific examples are based upon the work done in the previous chapters, and most of this chapter’s code will be used in later chapters in one ...

Get PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide 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.