Database class / PHP database extension bridge.
This is a really simple to use database class that lets you use many databases using the same functions. It is very easy to use and should help with common tasks and debugging.
Connecting is as easy as:
You can connect by yourself and use internal_dbal::start() to use the class if you want to make a specific choice.
The class has 12 methods of, most of which you will know what they do instantly.
The exact usage is shown in dbal.php included in the zip file.
It shows every nice feature the class has to offer.
You do not need all the files in the zip file. I would actually suggest to remove those you don't use as that will save you disk space.
I recommend you to download GeShi for SQL and PHP highlighting when you're debugging.
By default the debug functionality is disabled - for security reasons. To enable it find these 3 constants:
This class was designed to allow my classes more compatibility for databases as well as database extensions (MySQL can be accessed through mysql, mysqli and PDO). It is required to use them.
If you have any questions I'll be happy to anwser them.
|All times are GMT +1. The time now is 01:15 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.