Chapter 6. Building a Web Site with PHP



Now it’s time to assemble many of the ideas and code from previous chapters into a framework for a complete Web site. In this chapter, we will make more extensive use of include files, integrate the content management and authorization code developed in Chapters 4 and 5, build a dynamic navigation system that displays links according to the site’s folder structure, and explore many new PHP functions and the techniques for using them.

Using include Files to Build Pages

We have seen how to use include files to share code, such as database queries, among multiple pages. Now we will ...

Get Codin’ for the Web: A Designer’s Guide to Developing Dynamic Web Sites now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.