| [ PHPXref.com ] | [ Generated: Sat Dec 15 23:20:34 2007 ] | [ dbi4php 1.0 ] |
| [ Index ] [ Classes ] [ Functions ] [ Variables ] [ Constants ] [ Statistics ] | ||
| ./ | ||
| examples/ | ||
| tools/ | ||
| ChangeLog [summary] [37 lines] | ||
| LICENSE.txt [summary] [504 lines] | ||
| README [summary] [67 lines] | ||
| dbi4php.php [summary] [682 lines] | dbi4php - Generic database access for PHP The functions defined in this file are meant to provide a single API to the different PHP database APIs. Unfortunately, this is necessary since PHP does not yet have a common db API. The value of $GLOBALS["db_type"] should be defined somewhere to one of the following: - mysql - mysqli - mssql - oracle (This uses the Oracle8 OCI API, so Oracle 8 libs are required) - postgresql - odbc - ibase (Interbase) - sqlite - ibm_db2 Limitations: - This assumes a single connection to a single database for the sake of simplicity. Do not make a new connection until you are completely finished with the previous one. However, you can execute more than query at the same time. - Rather than use the associative arrays returned with xxx_fetch_array(), normal arrays are used with xxx_fetch_row(). (Some db APIs don't support xxx_fetch_array().) |
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |