Comunitatea PHP Romania
 

 
MDB

MDB

Table of Contents
Introduction - DSN -- The Data Source Name
Introduction - Connect -- Connecting and disconnecting a database
Introduction - Query -- Performing a query against a database.
Introduction - Fetch -- Fetching rows from the query
Introduction - Sequences -- Database sequences
Introduction - Execute -- Prepare & Execute/ExecuteMultiple
MDB -- Main class
MDB::connect() -- connects to database
MDB::isError() -- checks for an error
MDB_Common -- Interface for database access
MDB_Common::affectedRows() -- Number of affected rows
MDB_Common::createSequence() -- create a new sequence
MDB_Common::currId() -- returns the current free id of a sequence
MDB_Common::disconnect() -- disconnect from a database
MDB_Common::dropSequence() -- deletes a sequence
MDB_Common::execute() -- executes a prepared SQL statment
MDB_Common::executeQuery() -- executes a prepared SQL statment
MDB_Common::executeMultiple() -- repeated execution of a prepared SQL statment
MDB_Common::fetchAll() -- fetch result set as a nested array
MDB_Common::fetchCol() -- Fetch a single column
MDB_Common::fetchOne() -- fetch the first column of the first row
MDB_Common::fetchRow() -- fetch the first row
MDB_Common::fetchInto() -- fetch a row into a variable
MDB_Common::freeResult() -- delete the result set
MDB_Common::getAll() -- Fetch all rows
MDB_Common::getAssoc() -- fetch result set as associative array
MDB_Common::getCol() -- Fetch a single column
MDB_Common::getOne() -- fetch the first column of the first row
MDB_Common::getRow() -- fetch the first row
MDB_Common::getTextValue() -- quotes a string
MDB_Common::limitQuery() -- send a limited query to the database
MDB_Common::nextId() -- returns the next free id of a sequence
MDB_Common::numCols() -- get number of columns
MDB_Common::numRows() -- get number of rows
MDB_Common::prepareQuery() -- prepares a SQL statment
MDB_Common::query() -- send a query to the database
MDB_Common::queryAll() -- fetch result set as a nested array
MDB_Common::queryCol() -- Fetch a single column
MDB_Common::queryOne() -- fetch the first column of the first row
MDB_Common::queryRow() -- fetch the first row
MDB_Common::setFetchMode() -- sets the default fetch mode
MDB_Common::tableInfo() -- get table info from a query
MDB_Error -- MDB Error object

A unified API for accessing databases, based on user provided meta data.

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Membri recenti

Narco Narco
Botosani
Cristianhhr Cristianhhr
Otopeni, România
filla filla
nicoletta nicoletta
adina_m adina_m
uzzi uzzi
abordeaza abordeaza
ba3999 ba3999
teocudinti teocudinti
terbersa terbersa

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
Mascka Mascka
Braila
raul_ raul_
whooper whooper
Toronto ON
mihaitha mihaitha
Sibiu
gabysolomon gabysolomon
Bacau
oriceon oriceon
Constanta
garlicinicolae garlicinicolae

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Debt Help | Compare | The eBay Song | Best Credit Cards | Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis