(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0)
Introduction
Represents a connection between PHP and a database server.
Class synopsis
PDO
{
public __construct
(
string $dsn
[,
string $username
[,
string $password
[,
array $options
]]] )
public int exec
(
string $statement
)
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
] )
}