Large Objects (LOBs)
PDO::beginTransaction
PDO
PHP Manual

# Die PDO-Klasse

(PHP 5 >= 5.1.0, PECL pdo >= 0.1.0)

## Einführung

Representiert eine Verbindung zwischen PHP und einem Datenbankserver.

## Klassenbeschreibung

PDO {
public __construct ( string `$dsn` [, string `$username` [, string `$password` [, array `$driver_options` ]]] )
public bool beginTransaction ( void )
public bool commit ( void )
public mixed errorCode ( void )
public array errorInfo ( void )
int exec ( string `$statement` )
public mixed getAttribute ( int `$attribute` )
public static array getAvailableDrivers ( void )
public bool inTransaction ( void )
public string lastInsertId ([ string `$name` = `NULL` ] )
public PDOStatement prepare ( string `$statement` [, array `$driver_options` = array() ] )
public PDOStatement query ( string `$statement` )
public string quote ( string `$string` [, int `$parameter_type` = PDO::PARAM_STR ] )
public bool rollBack ( void )
public bool setAttribute ( int `$attribute` , mixed `$value` )
}

## Inhaltsverzeichnis

- PDO::beginTransaction — Initiates a transaction
- PDO::commit — Commits a transaction
- PDO::__construct — Creates a PDO instance representing a connection to a database
- PDO::errorCode — Fetch the SQLSTATE associated with the last operation on the database handle
- PDO::errorInfo — Fetch extended error information associated with the last operation on the database handle
- PDO::exec — Führt ein SQL Statement aus und gibt die Zahl der betroffenen Zeilen zurück
- PDO::getAttribute — Retrieve a database connection attribute
- PDO::getAvailableDrivers — Return an array of available PDO drivers
- PDO::inTransaction — Checks if inside a transaction
- PDO::lastInsertId — Returns the ID of the last inserted row or sequence value
- PDO::prepare — Prepares a statement for execution and returns a statement object
- PDO::query — Executes an SQL statement, returning a result set as a PDOStatement object
- PDO::quote — Quotes a string for use in a query.
- PDO::rollBack — Rolls back a transaction
- PDO::setAttribute — Set an attribute

Large Objects (LOBs)
PDO::beginTransaction
PDO
PHP Manual