"Fossies" - the Fresh Open Source Software Archive

Member "MTOS-5.2.11/php/extlib/adodb5/docs/readme.htm" (27 Nov 2014, 3162 Bytes) of package /linux/www/MTOS-5.2.11.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

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 http://adodb.sourceforge.net/.

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: