Chapter 20. 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, user input forms, and display of the results. When broken into pieces like this, such a task seems quite 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 quite 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 ...

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