The PDO class

Introduction

Represents a connection between PHP and a database server.

Class synopsis

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

Table of Contents


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email