anyDB 1.0
This abstract wrapper class provides easy and simple class methods to access the most important db function. It implements the functionality for databases like MYSQL, POSTGRESQL or SQLITE.
anyDB provides a wrapper for PEAR, PHPLIB, ADOdb and METABASE and enables you to switch between these db abstraction layers with only changing a single line of code. You gain the possibility to develop similar code for more than 15 different databases.
Detailed documentation for all the complete interface exists. A ligtweight interface supports the most common tasks in an easy and efficent way, such as sending queries and fetching result sets or single variables.
Additional classes provide tools for accessing database data, dumping information in html tables, exporting db content to CSV-files or as SQL statements or presenting database content pagewise (e.g. for search results).
Functions:
function Constructor($libraryPath, $dbType, $preferredResType = ASSOCIATIVE_ARRAY)
function connect($host, $db, $user, $password)
function disconnect()
function query($query)
function getNext($resultType = PREDEFINED_VALUE)
function getAll($resultType = PREDEFINED_VALUE)
function getValue()
function getColumn($resultType = PREDEFINED_VALUE)
function execute($query, $resultType = PREDEFINED_VALUE)
function free()
function numRows()
function affectedRows()
function getIdentifier()
function getTables()
function escapeStr()
String:
string $host
string $database
string $user
string $password
integer $prefResType
string $lastQuery
string $error
string $db
string $result
More popular Database Tool
- PHP DataGrid 4.2.8 (1 year, 6 months 6 days ago)
- ajaxCRUD 5.0 (2 years, 4 months 27 days ago)
- phpMyDataGrid 2007 - AJAX Enabled Datagrid 1.0 (2 years, 4 months 27 days ago)
- XAJAX Grid 1.0 (2 years, 4 months 27 days ago)
- PHP MySQL Connection Class 1.0 (2 years, 9 months 1 day ago)
Listing Files

changes.txt- 5.4 KB
- 10/03/2005 03:22:12

interface.txt- 2.0 KB
- 10/03/2005 03:22:12

anyDB.php- 11.0 KB
- 10/03/2005 03:22:12

dumpNext.php- 399 Bytes
- 10/03/2005 03:22:12

users.mysql- 340 Bytes
- 10/03/2005 03:22:12

users.dbx- 290 Bytes
- 10/03/2005 03:22:12

exportToCsv.php- 338 Bytes
- 10/03/2005 03:22:12

dumpDropdown.php- 366 Bytes
- 10/03/2005 03:22:12

connect.inc.php- 714 Bytes
- 10/03/2005 03:22:12

insert.php- 360 Bytes
- 10/03/2005 03:22:12

getAll.php- 399 Bytes
- 10/03/2005 03:22:12

getNextNumeric.php- 409 Bytes
- 10/03/2005 03:22:12

exportToSql.php- 404 Bytes
- 10/03/2005 03:22:12

getNext.php- 383 Bytes
- 10/03/2005 03:22:12

createPageView.php- 830 Bytes
- 10/03/2005 03:22:12

getTables.php- 293 Bytes
- 10/03/2005 03:22:12

getValue.php- 369 Bytes
- 10/03/2005 03:22:12
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
