Ó£ÌÒÊÓÆµ

ADOdb Library for PHP

ADOdb is a suite of database libraries that allow you to connect to multiple databases in a portable manner. Download from This allows you to query, update and insert records using a portable API.

  • The ADOdb data dictionary docs are at docs-datadict.htm. This allows you to create database tables and indexes in a portable manner.

  • The ADOdb database performance monitoring docs are at docs-perf.htm. This allows you to perform health checks, tune and monitor your database.

  • The ADOdb database-backed session docs are at docs-session.htm.

    Installation

    Make sure you are running PHP4.0.4 or later. Unpack all the files into a directory accessible by your webserver.

    To test, try modifying some of the tutorial examples. Make sure you customize the connection settings correctly. You can debug using:

    <?php
    include('adodb/adodb.inc.php');
    
    $db = ADONewConnection($driver); # eg. 'mysql' or 'oci8' 
    $db->debug = true;
    $db->Connect($server, $user, $password, $database);
    $rs = $db->Execute('select * from some_small_table');
    print "<pre>";
    print_r($rs->GetRows());
    print "</pre>";
    ?>
    

    How are people using ADOdb

    Here are some examples of how people are using ADOdb: