15 Example—Message Board

New in this edition of the book is this chapter, in which a message board (aka a forum) is created. I’ve never before written up such an example because there are so many great forum software packages available already. But readers are clamoring for information on this topic, and I always respect a hardy clamor.

The functionality of a message board is really rather simple: a post can either start a new topic or be in response to an existing one; posts are added to a database and then displayed on a page. That’s really about it. Of course, sometimes implementing simple concepts can be quite hard!

To make this example even more exciting and useful, it’s not going to be just a message board but rather a multilingual ...

Get PHP 6 and MySQL 5 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.