O'Reilly logo

Building Online Communities with phpBB 2 by Stoyan Stefanov, Mike Lothar, Jeremy Rogers

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Working with the Database

The database connectivity in phpBB is an important topic, so it needs special attention. This section gives you some background information about the database abstraction used in phpBB, and some examples of its use to retrieve data from your database.

Database Abstraction

As you know already, phpBB can work with different databases. To achieve this result without re-coding the whole system, phpBB employs a programming technique called database abstraction. This simply means that there are several scripts (classes), specific for each supported database system that in a different way achieve the same result. In this case, the other phpBB scripts don’t need to know anything about the specific database system, they just call ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required