12. Example—Content Management

The first example I’ll demonstrate in this book will be a content management site. The application will manage both URLs and files, which users can add, display, and access. I won’t create an administrative side of the site, although I include notes at the end of the chapter as to how that would be accomplished.

Although the focus in this chapter is on a specific example, a few new functions and techniques will also be taught. The new functions include mysql_insert_id(), serialize(), urlencode(), array_diff(), and list().

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