Chapter 21. Creating a Simple Discussion Forum

In this chapter, you’ll learn the design process behind a simple discussion forum. This includes developing the database tables and user input forms, and displaying the results. When broken into pieces like this, such a task seems simple—and it is! The ultimate goal is to understand the concepts and relationships that go into making something like a discussion forum, not to create the world’s most full-functioned system—in fact, you’ll see it’s sparse, but it sure is relational.

In this chapter, you will learn how to create the tables, input forms, and display of a simple discussion forum.

Designing the Database Tables

Think of the basic components of a forum: topics and posts. A forum—if properly used ...

Get Sams Teach Yourself PHP, MySQL and Apache: All in One, Third 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.