Submit Tutorial   

Creating a Simple Database Abstraction Layer
If you ever intend to create an open source PHP script that utilizes a database, you will likely at one time or another be faced with the question "How do I interface with more than one type of database system?" The answer is simple: a database abstraction layer. We'll show you how to create a simple database abstraction layer that works with MySQL, MsSQL, and PostgreSQL in this example.